blob: f824046be2ef9152479d78f62a7ecc1779573de1 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
window.isMobile = !("windows" in browser);
if (isMobile) {
document.documentElement.classList.add("mobile");
let s = document.createElement("script");
s.src = "/html/fastclick.js";
document.head.appendChild(s);
window.addEventListener("DOMContentLoaded", e => FastClick.attach(document.body));
}
|