Roo/bootstrap/Tooltip.js
authoredward <edward@roojs.com>
Wed, 2 Aug 2017 06:27:05 +0000 (14:27 +0800)
committeredward <edward@roojs.com>
Wed, 2 Aug 2017 06:27:05 +0000 (14:27 +0800)
Roo/bootstrap/Tooltip.js

index 55d22bc..276db82 100644 (file)
@@ -65,6 +65,11 @@ Roo.apply(Roo.bootstrap.Tooltip, {
             this.currentTip.el.setVisibilityMode(Roo.Element.DISPLAY).hide(); // force hiding...
         }    
         //Roo.log(ev);
+        
+        if(!el){
+            return;
+        }
+        
         var bindEl = el;
         
         // you can not look for children, as if el is the body.. then everythign is the child..