popover - make the passed element a roo element
authorAlan Knowles <alan@roojs.com>
Thu, 11 Feb 2021 05:21:23 +0000 (13:21 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Feb 2021 05:21:23 +0000 (13:21 +0800)
Roo/bootstrap/Popover.js

index e001c18..8ec0fce 100644 (file)
@@ -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);