diff options
-rw-r--r-- | public/common/client.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/common/client.js b/public/common/client.js index ccbde0e..6ab86b3 100644 --- a/public/common/client.js +++ b/public/common/client.js @@ -83,10 +83,11 @@ let blink_title = document.title; let blink_timer = 0; function start_blinker(message) { - let tick = true; + let tick = false; if (blink_timer) stop_blinker(); if (!document.hasFocus()) { + document.title = message; blink_timer = setInterval(function () { document.title = tick ? message : blink_title; tick = !tick; |