projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5df215
)
Roo/bootstrap/Tooltip.js
author
Alan Knowles
<alan@roojs.com>
Wed, 22 Apr 2015 03:50:33 +0000
(11:50 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 22 Apr 2015 03:50:33 +0000
(11:50 +0800)
Roo/bootstrap/Tooltip.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Tooltip.js
b/Roo/bootstrap/Tooltip.js
index
60c470b
..
8b3c304
100644
(file)
--- a/
Roo/bootstrap/Tooltip.js
+++ b/
Roo/bootstrap/Tooltip.js
@@
-49,13
+49,14
@@
Roo.apply(Roo.bootstrap.Tooltip, {
if (this.currentEl == el) {
return;
}
- if (this.currentTip) {
- this.currentTip.hide();
- }
- if (el.dom != this.currentEl.dom && this.currentEl.contains(el.dom)) {
+
+ if (this.currentEl && el.dom != this.currentEl.dom && this.currentEl.contains(el.dom)) {
return;
}
-
+
+ if (this.currentTip) {
+ this.currentTip.hide();
+ }
//Roo.log(el);
if (!el.attr('tooltip')) { // parents who have tip?
return;