Roo/bootstrap/Menu.js
authorjohn <john@roojs.com>
Fri, 17 Aug 2018 05:02:25 +0000 (13:02 +0800)
committerjohn <john@roojs.com>
Fri, 17 Aug 2018 05:02:25 +0000 (13:02 +0800)
Roo/bootstrap/Menu.js

index 3613cff..d64572d 100644 (file)
@@ -291,12 +291,8 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         
         // but the list may align on trigger left or trigger top... should it be a properity?
         
-        this.el.setXY(xy);
-        
         if(this.el.getStyle('top') != 'auto' && this.el.getStyle('top').slice(-1) != "%"){
-            
             this.el.setXY(xy);
-            
         }
         
         this.focus();