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

index 4ec1683..e001c18 100644 (file)
@@ -366,7 +366,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
                     return true;
                 }
                 // continue through...
-                try_move = false;
+                return this.updatePosition('left', false);
                 
             
             case 'left':
@@ -395,7 +395,7 @@ Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {
                     return true;
                 }
                 // fall through
-                try_move = false;
+               return this.updatePosition('bottom', false);
             
             case 'bottom':
                  var exact = this.el.getAlignToXY(this.alignEl, 't-b', [0,10]);