aboutsummaryrefslogtreecommitdiff
path: root/beamer/viewer
diff options
context:
space:
mode:
authorpacien2023-10-23 18:27:28 +0200
committerpacien2023-10-23 18:27:28 +0200
commit596f11043ffcd57d03ad774e2ba3c96bbaf5214e (patch)
treea9253d37827f7166cdfa832c0fdc501b5f9167c2 /beamer/viewer
parentc4e436149154762b0a74600d77e37c94545e58fb (diff)
downloadbeamer-viewer-596f11043ffcd57d03ad774e2ba3c96bbaf5214e.tar.gz
app: remove init popup blocker check
Diffstat (limited to 'beamer/viewer')
-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