projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
271a9c8
)
Roo/bootstrap/Tooltip.js
author
leon
<leon@roojs.com>
Tue, 27 Sep 2022 05:02:06 +0000
(13:02 +0800)
committer
leon
<leon@roojs.com>
Tue, 27 Sep 2022 05:02:06 +0000
(13:02 +0800)
Roo/bootstrap/Tooltip.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Tooltip.js
b/Roo/bootstrap/Tooltip.js
index
c56cc63
..
5996d85
100644
(file)
--- a/
Roo/bootstrap/Tooltip.js
+++ b/
Roo/bootstrap/Tooltip.js
@@
-251,6
+251,10
@@
Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component, {
var placement = typeof this.placement == 'function' ?
this.placement.call(this, this.el, on_el) :
this.placement;
+
+ if(this.bindEl.attr('tooltip-placement')) {
+ placement = this.bindEl.attr('tooltip-placement');
+ }
var autoToken = /\s?auto?\s?/i;
var autoPlace = autoToken.test(placement);