Roo/bootstrap/Popover.js
authoredward <edward@roojs.com>
Mon, 27 Mar 2017 05:52:19 +0000 (13:52 +0800)
committeredward <edward@roojs.com>
Mon, 27 Mar 2017 05:52:19 +0000 (13:52 +0800)
Roo/bootstrap/Popover.js

index c0609d8..a977d21 100644 (file)
@@ -155,11 +155,11 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
     timeout : null,
     hoverState : null,
     
-    toggle : function () {
-        this.hoverState == 'in' ? this.leave() : this.enter();
+    toggle : function (on_el) {
+        this.hoverState == 'in' ? this.leave() : this.enter(on_el);
     },
     
-    enter : function () {
+    enter : function (on_el) {
        
     
         clearTimeout(this.timeout);