aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorhackademix <giorgio@maone.net>2019-01-28 22:40:36 +0100
committerhackademix <giorgio@maone.net>2019-01-28 22:40:36 +0100
commitf5c4a44831ebb6d40aa75060c400b9180f32f127 (patch)
tree41402fc98f2c02fcc6ffdf9442da8fa3555b165c /html
parent1f705c122dfe7b9ec0cd956c5188b907e6e8e4b8 (diff)
Fixed fastclick.js loaded too late sometimes.
Diffstat (limited to 'html')
-rw-r--r--html/mobile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/mobile.js b/html/mobile.js
index f824046..be5d271 100644
--- a/html/mobile.js
+++ b/html/mobile.js
@@ -4,5 +4,5 @@ if (isMobile) {
let s = document.createElement("script");
s.src = "/html/fastclick.js";
document.head.appendChild(s);
- window.addEventListener("DOMContentLoaded", e => FastClick.attach(document.body));
+ window.addEventListener("load", e => FastClick.attach(document.body));
}