From 8d3becda14d201d9f162cc53b9b2ac93741adbd7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Feb 2021 11:51:38 +0800 Subject: [PATCH] Roo/bootstrap/Popover.js --- Roo/bootstrap/Popover.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Roo/bootstrap/Popover.js b/Roo/bootstrap/Popover.js index 4674786c53..00d3d3b31b 100644 --- a/Roo/bootstrap/Popover.js +++ b/Roo/bootstrap/Popover.js @@ -339,15 +339,15 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, { * fire this manually after loading a grid in the table for example * */ - updatePosition : function() + updatePosition : function(placement) { this.el.addClass(placement + ' roo-popover-' + placement); - if (!this.alignEl || !this.alignment) { + if (!this.alignEl ) { return; } - + switch () this.el.alignTo(this.alignEl , this.alignment[0],this.alignment[1]); -- 2.39.2