aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-19 23:26:37 +0100
committerJoris Guyonvarch2015-03-19 23:26:37 +0100
commit11403e9e7a07494d72df0b225216c15724386aa8 (patch)
treec42de6039e093225b134537429ab885ded86cf16
parent17dbdaeea4f13c3fde35edbc745984ec31a2584c (diff)
Renaming title when buzzing
-rw-r--r--index.html2
1 files changed, 2 insertions, 0 deletions
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;
}