projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2625cd
)
Roo/bootstrap/Component.js
author
john
<john@roojs.com>
Fri, 21 Sep 2018 10:07:47 +0000
(18:07 +0800)
committer
john
<john@roojs.com>
Fri, 21 Sep 2018 10:07:47 +0000
(18:07 +0800)
Roo/bootstrap/Component.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Component.js
b/Roo/bootstrap/Component.js
index
173a898
..
a0c1e49
100644
(file)
--- a/
Roo/bootstrap/Component.js
+++ b/
Roo/bootstrap/Component.js
@@
-131,7
+131,8
@@
Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, {
this.el = ct.createChild(cfg, position);
if (this.tooltip) {
- this.tooltipEl().dom.setAttribute('tooltip', this.tooltip);
+ this.tooltipEl().attr('tooltip', this.tooltip);
+ this.tooltipEl().attr("data-placement='top'", this.tooltip);
}
if(this.tabIndex !== undefined){