Roo/Element.js
authorAlan Knowles <alan@roojs.com>
Thu, 8 Apr 2021 09:10:14 +0000 (17:10 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 8 Apr 2021 09:10:14 +0000 (17:10 +0800)
Roo/Element.js

index 3b3270c..53a1261 100644 (file)
@@ -1173,7 +1173,7 @@ if(opt.anim.isAnimated()){
                 Roo.EventManager.on(this.dom,  eventName, fn, scope || this, options);
             }
             if (eventName == 'dblclick') {
-                this.addEventListener('touchstart', this.onTapHandler, this);
+                this.addListener('touchstart', this.onTapHandler, this);
             }
         },
         tapedTwice : false,