projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6edd618
)
Roo/bootstrap/Popover.js
author
Alan Knowles
<alan@roojs.com>
Thu, 11 Feb 2021 04:10:12 +0000
(12:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 11 Feb 2021 04:10:12 +0000
(12:10 +0800)
Roo/bootstrap/Popover.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
bc7b520
..
8f06245
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-299,7
+299,7
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
if (on_el) {
- this.updatePosition(
placement
);
+ this.updatePosition(
this.placement, true
);
} else {
// this is usually just done by the builder = to show the popoup in the middle of the scren.
@@
-338,6
+338,7
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
*/
updatePosition : function(placement, try_move)
{
+ placement
this.el.removeClass([
'fade','top','bottom', 'left', 'right','in',
'bs-popover-top','bs-popover-bottom', 'bs-popover-left', 'bs-popover-right'