aboutsummaryrefslogtreecommitdiff
path: root/beamer
diff options
context:
space:
mode:
Diffstat (limited to 'beamer')
-rw-r--r--beamer/viewer/init.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/beamer/viewer/init.js b/beamer/viewer/init.js
index 9192834..18269cd 100644
--- a/beamer/viewer/init.js
+++ b/beamer/viewer/init.js
@@ -39,18 +39,8 @@ function initCache() {
39 offlineCapableIndicator.style.visibility = "visible"; 39 offlineCapableIndicator.style.visibility = "visible";
40} 40}
41 41
42function checkPopupPermission() {
43 const popup = window.open("popup.html");
44
45 if (popup == null) {
46 const warningMessage = document.getElementById("warning");
47 warningMessage.textContent = "A pop-up blocker is active. Make sure to allow pop-ups on this website.";
48 }
49}
50
51function init() { 42function init() {
52 initCache(); 43 initCache();
53 checkPopupPermission();
54 44
55 const viewer = new Viewer(); 45 const viewer = new Viewer();
56 46