aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-10-13 11:50:15 +1100
committerYuchen Pei <hi@ypei.me>2022-10-13 11:50:15 +1100
commit55c748d6a50af4e93b138bf73e37c71f946fab19 (patch)
tree8f78d7535e741cf51f15bac73de5c8de4c97cb4b /html
parentb849b8d461479cf6530c77b97b094807840ce0d7 (diff)
minor fix of noscript.js, and make it show up in console debugger
Diffstat (limited to 'html')
-rw-r--r--html/display_panel/content/main_panel.js4
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;