roojs-bootstrap.js
authorAlan Knowles <alan@roojs.com>
Thu, 28 Jan 2021 08:14:06 +0000 (16:14 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 Jan 2021 08:14:06 +0000 (16:14 +0800)
roojs-bootstrap-debug.js
Roo/bootstrap/Popover.js

Roo/bootstrap/Popover.js

index 9d4b263..97dcebe 100644 (file)
@@ -184,7 +184,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         }
          
         
-        this.headerEl.setVisibilityMode(Roo.Element.DISPLAY);
+        this.headerEl.setVisibilityMode(Roo.Element.DISPLAY); // probably not needed as it's default in BS4
         this.el.enableDisplayMode('block');
         this.el.hide();
         if (this.over === false && !this.parent()) {
@@ -283,7 +283,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         ]);
         
         if (!this.title.length) {
-            this.el.select('.popover-title',true).hide();
+            this.headerEl.hide();
         }