projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc2feb
)
Roo/bootstrap/Tooltip.js
author
edward
<edward@roojs.com>
Wed, 2 Aug 2017 06:02:43 +0000
(14:02 +0800)
committer
edward
<edward@roojs.com>
Wed, 2 Aug 2017 06:02:43 +0000
(14:02 +0800)
Roo/bootstrap/Tooltip.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Tooltip.js
b/Roo/bootstrap/Tooltip.js
index
20d7258
..
90c8d63
100644
(file)
--- a/
Roo/bootstrap/Tooltip.js
+++ b/
Roo/bootstrap/Tooltip.js
@@
-249,7
+249,7
@@
Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component, {
Roo.log(xy);
- if(placement == 'top' || placement == 'bottom'){
+
//
if(placement == 'top' || placement == 'bottom'){
if(xy[0] < 0){
placement = 'right';
}
@@
-257,7
+257,7
@@
Roo.extend(Roo.bootstrap.Tooltip, Roo.bootstrap.Component, {
if(xy[0] + this.el.getWidth() > Roo.lib.Dom.getViewWidth()){
placement = 'left';
}
- }
+
//
}
align = Roo.bootstrap.Tooltip.alignment[placement];