From 05f504cc3b9f2af70ad4792603d1bca80f26fc93 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Feb 2021 13:21:23 +0800 Subject: [PATCH] popover - make the passed element a roo element --- Roo/bootstrap/Popover.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/bootstrap/Popover.js b/Roo/bootstrap/Popover.js index e001c18810..8ec0fcee5e 100644 --- a/Roo/bootstrap/Popover.js +++ b/Roo/bootstrap/Popover.js @@ -281,7 +281,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component, { } - this.alignEl = on_el; + this.alignEl = Roo.get( on_el ); if (!this.el) { this.render(document.body); -- 2.39.2