Skip to content

Commit

Permalink
Log about autoredirect
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed Sep 4, 2024
1 parent 496f02e commit 2b2a8f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2b2a8f5

Please sign in to comment.