Update popup.js

This commit is contained in:
pliny
2023-08-12 17:27:05 -07:00
committed by GitHub
parent 26e6223feb
commit 9c418e540b
+1 -1
View File
@@ -46,7 +46,7 @@ document.addEventListener('DOMContentLoaded', () => {
chrome.storage.sync.set({volume: volumeSlider.value});
};
playPauseButton.addEventListener('click', function() {
playPauseButton.addEventListener('click', function() {
chrome.tabs.query({active: true, currentWindow: true}, function(tabs) {
let activeTab = tabs[0];
chrome.scripting.executeScript({