Skip to content

Commit

Permalink
feat(pacer): Replaces old Chrome.extension API with newer equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Aug 26, 2024
1 parent 9a1d888 commit 470047d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pacer.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ let PACER = {
banner_icon_container.classList.add('banner-icon-container');

let recap_icon = document.createElement('img');
recap_icon.src = chrome.extension.getURL('assets/images/icon-48.png');
recap_icon.src = chrome.runtime.getURL('assets/images/icon-48.png');
recap_icon.style.width = '40px';
recap_icon.style.height = '40px';
banner_icon_container.appendChild(recap_icon);
Expand Down

0 comments on commit 470047d

Please sign in to comment.