From: Alan Knowles Date: Fri, 30 Sep 2016 02:55:20 +0000 (+0800) Subject: Roo.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=54c204c75356f0c0c937935f99102b32fd2fd0e4 Roo.js --- diff --git a/Roo.js b/Roo.js index 90a960a834..d9ededc7e0 100644 --- a/Roo.js +++ b/Roo.js @@ -65,7 +65,10 @@ Roo.apply = function(o, c, defaults){ isSecure = window.location.href.toLowerCase().indexOf("https") === 0, isIOS = /iphone|ipad/.test(ua), isTouch = (function() { - try { + try { + if (ua.indexOf('chrome') != -1 && ua.indexOf('android') == -1) { + return false; // no touch on chrome!? + } document.createEvent("TouchEvent"); return true; } catch (e) {