projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc2e9c
)
Roo/bootstrap/Tooltip.js
author
Alan Knowles
<alan@roojs.com>
Thu, 17 Dec 2020 04:09:24 +0000
(12:09 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 17 Dec 2020 04:09:24 +0000
(12:09 +0800)
Roo/bootstrap/Tooltip.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Tooltip.js
b/Roo/bootstrap/Tooltip.js
index
729798d
..
b9d7bec
100644
(file)
--- a/
Roo/bootstrap/Tooltip.js
+++ b/
Roo/bootstrap/Tooltip.js
@@
-179,7
+179,8
@@
Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component, {
initEvents : function()
{
this.arrowEl = this.el.select('.arrow', true).first();
- }
+ this.innerEl = this.el.select('.tooltip-inner', true).first();
+ },
enter : function () {
@@
-280,6
+281,9
@@
Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component, {
}
align = this.alignment[placement];
+
+ this.arrowEl.setLeft(this.innerEl.getWidth()/2);
+
}
this.el.alignTo(this.bindEl, align[0],align[1]);