Roo/bootstrap/Tooltip.js
authorAlan Knowles <alan@roojs.com>
Mon, 19 Oct 2015 04:42:17 +0000 (12:42 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 19 Oct 2015 04:42:17 +0000 (12:42 +0800)
Roo/bootstrap/Tooltip.js

index b4bc287..bc94829 100644 (file)
@@ -67,12 +67,14 @@ Roo.apply(Roo.bootstrap.Tooltip, {
             this.currentTip.el.hide(); // force hiding...
         }    
         Roo.log(ev);
+        var bindEl = el;
+        
         // you can not look for children, as if el is the body.. then everythign is the child..
         if (!el.attr('tooltip')) { // 
             return;
         }
-        this.currentEl = el;
-        this.currentTip.bind(el);
+        this.currentEl = bindEl;
+        this.currentTip.bind(bindEl);
         this.currentRegion = Roo.lib.Region.getRegion(dom);
         this.currentTip.enter();