From 20481f72b36bd83d185c5224dec452c463eea08c Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Fri, 3 Apr 2020 21:32:19 +0200 Subject: [PATCH] Fix maxTouchPoints --- src/scripts/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/browser.js b/src/scripts/browser.js index a6402d1393..19153bb19f 100644 --- a/src/scripts/browser.js +++ b/src/scripts/browser.js @@ -292,7 +292,7 @@ define([], function () { } if (typeof document !== 'undefined') { - if (('ontouchstart' in window) || (navigator.MaxTouchPoints > 0)) { + if (('ontouchstart' in window) || (navigator.maxTouchPoints > 0)) { browser.touch = true; } }