diff --git a/popup.js b/popup.js index 38fcf9a..8bb7756 100644 --- a/popup.js +++ b/popup.js @@ -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({