X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsymbols%2Fsrc%2FRoo.js.html;h=b257b3df966509604379eb883ac8bd8b562f30b9;hb=e90e5faeff4cceef9510b0d003e5d10621fe4b32;hp=8119e3e0ce17f951c1a16802e5cb9863f43bb1d7;hpb=6a440ac275b620b206ea888eb7568c67cacb79e2;p=roojs1 diff --git a/docs/symbols/src/Roo.js.html b/docs/symbols/src/Roo.js.html index 8119e3e0ce..b257b3df96 100644 --- a/docs/symbols/src/Roo.js.html +++ b/docs/symbols/src/Roo.js.html @@ -65,7 +65,14 @@ 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) { + window.addEventListener('touchstart', function __set_has_touch__ () { + Roo.isTouch = true; + window.removeEventListener('touchstart', __set_has_touch__); + }); + return false; // no touch on chrome!? + } document.createEvent("TouchEvent"); return true; } catch (e) {