projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6267c39
)
Roo/bootstrap/Popover.js
author
Alan Knowles
<alan@roojs.com>
Thu, 11 Feb 2021 04:33:30 +0000
(12:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 11 Feb 2021 04:33:30 +0000
(12:33 +0800)
Roo/bootstrap/Popover.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Popover.js
b/Roo/bootstrap/Popover.js
index
abcc396
..
f2aabbe
100644
(file)
--- a/
Roo/bootstrap/Popover.js
+++ b/
Roo/bootstrap/Popover.js
@@
-339,7
+339,9
@@
Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, {
*/
updatePosition : function(placement, try_move)
{
+ // allow for calling with no parameters
placement = placement ? placement : this.placement;
+ try_move = typeof(try_move) == 'undefined' ? true : try_move;
this.el.removeClass([
'fade','top','bottom', 'left', 'right','in',