Roo/bootstrap/Menu.js
authoredward <edward@roojs.com>
Mon, 8 May 2017 09:03:56 +0000 (17:03 +0800)
committeredward <edward@roojs.com>
Mon, 8 May 2017 09:03:56 +0000 (17:03 +0800)
Roo/bootstrap/Menu.js

index 333523b..6a68964 100644 (file)
@@ -356,7 +356,7 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
             this.show(this.triggerEl, false, false);
         }
         
-        if(this.stopEvent || target.nodeName.toLowerCase() === 'i'){
+        if(this.stopEvent || e.getTarget().nodeName.toLowerCase() === 'i'){
             e.stopEvent();
         }