roojs-bootstrap.js
[roojs1] / roojs-bootstrap-debug.js
index 3294f2c..85f9c9f 100644 (file)
@@ -19882,10 +19882,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         }
         
         
-        this.el.removeClass([
-            'fade','top','bottom', 'left', 'right','in',
-            'bs-popover-top','bs-popover-bottom', 'bs-popover-left', 'bs-popover-right'
-        ]);
+         
         
         if (this.title === false) {
             this.headerEl.hide();
@@ -19896,10 +19893,9 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
         this.el.dom.style.display = 'block';
          
         
-        this.el.addClass(placement + ' roo-popover-' + placement);
-
         if (on_el) {
-            this.updatePosition();
+            this.updatePosition(placement);
              
         } else {
             // this is usually just done by the builder = to show the popoup in the middle of the scren.