Roo/bootstrap/Popover.js
authorAlan Knowles <alan@roojs.com>
Thu, 11 Feb 2021 04:32:58 +0000 (12:32 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Feb 2021 04:32:58 +0000 (12:32 +0800)
Roo/bootstrap/Popover.js

index dc25cde..abcc396 100644 (file)
@@ -339,7 +339,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
      */
     updatePosition : function(placement, try_move)
     {
-        placement = placement === false ? this.placement : placement;
+        placement = placement   ? placement :  this.placement;
         
         this.el.removeClass([
             'fade','top','bottom', 'left', 'right','in',