From be0de98fcb03ce630bbf45a4dc03330b73be4bc5 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Feb 2021 12:10:12 +0800 Subject: [PATCH] Roo/bootstrap/Popover.js --- Roo/bootstrap/Popover.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Roo/bootstrap/Popover.js b/Roo/bootstrap/Popover.js index bc7b520ae9..8f06245319 100644 --- 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' -- 2.39.2