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

index 3f2341c..1080f76 100644 (file)
@@ -280,7 +280,7 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
             xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
         }
         
-        alert(this.el.getStyle('top'));
+        alert(this.el.getStyle('top') * 1);
         
         if(this.el.getStyle('top').slice(-1) != "%"){
             this.el.setXY(xy);