diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/display_panel/content/main_panel.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js index dc3ee2d..e2988d6 100644 --- a/html/display_panel/content/main_panel.js +++ b/html/display_panel/content/main_panel.js @@ -93,8 +93,8 @@ document.querySelector("#complain").onclick = _ => { close(); } -document.querySelector("#force-noscript").onclick = async _ => { - await browser.tabs.sendMessage(currentReport.tabId, { +document.querySelector("#force-noscript").onclick = _ => { + browser.tabs.sendMessage(currentReport.tabId, { action: 'forceNoscript' }); document.querySelector("#force-noscript").disabled = true; |