diff options
author | Joris Guyonvarch | 2015-03-19 23:26:37 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-19 23:26:37 +0100 |
commit | 11403e9e7a07494d72df0b225216c15724386aa8 (patch) | |
tree | c42de6039e093225b134537429ab885ded86cf16 | |
parent | 17dbdaeea4f13c3fde35edbc745984ec31a2584c (diff) |
Renaming title when buzzing
-rw-r--r-- | index.html | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |