From 2b2a8f517ca54842be20534b1203179c2bddda01 Mon Sep 17 00:00:00 2001 From: Mikhail Uvarov Date: Thu, 5 Sep 2024 01:04:34 +0200 Subject: [PATCH] Log about autoredirect --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 8aae756..b41dfcb 100644 --- a/index.js +++ b/index.js @@ -71,7 +71,10 @@ $('#uninstall').onclick = function() { function showControl(doRedirect) { $('#control').hidden = false; $('#install-notice').hidden = true; - if (autoMode && doRedirect) document.location.reload(); + if (autoMode && doRedirect) { + logInstall("autoredirect"); + document.location.reload(); + } } function logInstall(what) {