Roo.js
authorAlan Knowles <alan@roojs.com>
Tue, 11 Oct 2016 08:12:30 +0000 (16:12 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 11 Oct 2016 08:12:30 +0000 (16:12 +0800)
Roo.js

diff --git a/Roo.js b/Roo.js
index c7ac781..59c8789 100644 (file)
--- a/Roo.js
+++ b/Roo.js
@@ -69,7 +69,7 @@ Roo.apply = function(o, c, defaults){
                 if (ua.indexOf('chrome') != -1 && ua.indexOf('android') == -1) {
                     window.addEventListener('touchstart', function __set_has_touch__ () {
                         Roo.isTouch = true;
-                        winow.removeEventListener('touchstart', __set_has_touch__);
+                        window.removeEventListener('touchstart', __set_has_touch__);
                     });
                     return false; // no touch on chrome!?
                 }