Roo/bootstrap/Element.js
authorEdward <edward@roojs.com>
Wed, 29 Aug 2018 08:59:35 +0000 (16:59 +0800)
committerEdward <edward@roojs.com>
Wed, 29 Aug 2018 08:59:35 +0000 (16:59 +0800)
Roo/bootstrap/Element.js

index c7f118a..bed0e4a 100644 (file)
@@ -59,13 +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);
         }
         
     },