Roo/bootstrap/Menu.js
authoredward <edward@roojs.com>
Fri, 21 Jul 2017 04:49:27 +0000 (12:49 +0800)
committeredward <edward@roojs.com>
Fri, 21 Jul 2017 04:49:27 +0000 (12:49 +0800)
Roo/bootstrap/Menu.js

index d3873a0..21be9cf 100644 (file)
@@ -279,7 +279,7 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         if(this.el.getWidth() + xy[0] > Roo.lib.Dom.getViewWidth()){
             xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
         }
-        alert(this.el.getStyle('top'));
+        
         if(this.el.getStyle('top').slice(-1) != "%"){
             this.el.setXY(xy);
         }