From: Alan Knowles Date: Thu, 11 Feb 2021 04:33:30 +0000 (+0800) Subject: Roo/bootstrap/Popover.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=6fd589401b32d38788816aca604ca25dba8e3b10 Roo/bootstrap/Popover.js --- diff --git a/Roo/bootstrap/Popover.js b/Roo/bootstrap/Popover.js index abcc3969a7..f2aabbe4f8 100644 --- 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',