diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/mobile.js | 2 |
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)); } |