From 6fd589401b32d38788816aca604ca25dba8e3b10 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Feb 2021 12:33:30 +0800 Subject: [PATCH] Roo/bootstrap/Popover.js --- Roo/bootstrap/Popover.js | 2 ++ 1 file changed, 2 insertions(+) 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', -- 2.39.2