move isMobile() to support js, as it has no jinja2 in it

This commit is contained in:
2025-09-28 21:44:02 +10:00
parent 5f8c48ac18
commit 1ca5ca192c

View File

@@ -628,3 +628,8 @@ function prevPage()
resetNextPrevButtons()
return
}
function isMobile() {
try{ document.createEvent("TouchEvent"); return true; }
catch(e){ return false; }
}