Roo/bootstrap/Menu.js
authorjohn <john@roojs.com>
Fri, 10 Aug 2018 04:30:09 +0000 (12:30 +0800)
committerjohn <john@roojs.com>
Fri, 10 Aug 2018 04:30:09 +0000 (12:30 +0800)
Roo/bootstrap/Menu.js

index e8f9632..da128e5 100644 (file)
@@ -286,8 +286,6 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
             xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
         }
         
-        xy[0] = xy[0] - 5;
-        
         if(this.el.getStyle('top') != 'auto' && this.el.getStyle('top').slice(-1) != "%"){
             this.el.setXY(xy);
         }