diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -18,17 +18,9 @@ <script> var timer = Elm.fullscreen(Elm.Main, { initialTime: new Date().getTime(), - clickAway: [], keyPress: 0 }); - timer.ports.clickPosition.subscribe(function(pos) { - const element = document.elementFromPoint(pos.x, pos.y); - if(element.nodeName != 'BUTTON') { - timer.ports.clickAway.send([]); - } - }); - const sound = new Audio('alarm.wav'); sound.addEventListener('ended', function() { this.currentTime = 0; |