Street testing fixes

This commit is contained in:
Robin Davies
2021-12-31 10:30:31 -05:00
parent d717a742b9
commit 96584fd4a7
17 changed files with 868 additions and 116 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ export interface ControlEntry {
const Utility = class {
static isTouchDevice(): boolean {
return navigator.maxTouchPoints > 0;
return (('ontouchstart' in window) &&
((navigator.maxTouchPoints??0) > 0) );
}
static hasIMEKeyboard(): boolean {