aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html8
1 files changed, 0 insertions, 8 deletions
diff --git a/index.html b/index.html
index 795bf0b..f5f825e 100644
--- a/index.html
+++ b/index.html
@@ -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;