From 11403e9e7a07494d72df0b225216c15724386aa8 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Thu, 19 Mar 2015 23:26:37 +0100 Subject: Renaming title when buzzing --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 5417dcc..7e3b489 100644 --- a/index.html +++ b/index.html @@ -36,8 +36,10 @@ timer.ports.ringingTimers.subscribe(function(isRinging) { if(isRinging) { + document.title = "~\\ Timer /~"; sound.play(); } else { + document.title = "Timer"; sound.pause(); sound.currentTime = 0; } -- cgit v1.2.3