From 596f11043ffcd57d03ad774e2ba3c96bbaf5214e Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 23 Oct 2023 18:27:28 +0200 Subject: app: remove init popup blocker check --- beamer/viewer/init.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'beamer') 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() { offlineCapableIndicator.style.visibility = "visible"; } -function checkPopupPermission() { - const popup = window.open("popup.html"); - - if (popup == null) { - const warningMessage = document.getElementById("warning"); - warningMessage.textContent = "A pop-up blocker is active. Make sure to allow pop-ups on this website."; - } -} - function init() { initCache(); - checkPopupPermission(); const viewer = new Viewer(); -- cgit v1.2.3