commit
authorEdward <edward@roojs.com>
Wed, 29 Aug 2018 09:27:16 +0000 (17:27 +0800)
committerEdward <edward@roojs.com>
Wed, 29 Aug 2018 09:27:16 +0000 (17:27 +0800)
Roo/bootstrap/Element.js

index 4ac1494..bed0e4a 100644 (file)
@@ -59,11 +59,7 @@ Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component,  {
         Roo.bootstrap.Element.superclass.initEvents.call(this);
         
         if(this.clickable){
-            if(!Roo.isTouch){
-                this.el.on('click', this.onClick, this);
-            } else {
-                this.el.on('touchstart', this.onClick, this);
-            }
+            this.el.on('click', this.onClick, this);
         }
         
     },