summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-01-03 20:43:44 +0100
committerWojtek Kosior <koszko@koszko.org>2022-01-03 20:43:44 +0100
commit3840192d67a38604cfd6738c4f07d181a668ae68 (patch)
tree9924aa3ae6bab87abbf531891430ee07c2587c5f /html
parentc71ebff86fa79b20388749dd4781fd96fcc5c63a (diff)
downloadbrowser-extension-3840192d67a38604cfd6738c4f07d181a668ae68.tar.gz
browser-extension-3840192d67a38604cfd6738c4f07d181a668ae68.zip
facilitate testing extension's HTML files
Diffstat (limited to 'html')
-rw-r--r--html/default_blocking_policy.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/html/default_blocking_policy.js b/html/default_blocking_policy.js
index 47435eb..dcc5d0b 100644
--- a/html/default_blocking_policy.js
+++ b/html/default_blocking_policy.js
@@ -72,4 +72,6 @@ async function init_default_policy_dialog()
blocking_policy_span.classList.remove("hide");
}
+#IF !TEST_UNIT
init_default_policy_dialog();
+#ENDIF