Roo/bootstrap/menu/Menu.js
authorEdward <edward@roojs.com>
Thu, 4 Dec 2014 09:04:22 +0000 (17:04 +0800)
committerEdward <edward@roojs.com>
Thu, 4 Dec 2014 09:04:22 +0000 (17:04 +0800)
Roo/bootstrap/menu/Menu.js

index 59508f3..0531b25 100644 (file)
@@ -102,12 +102,12 @@ Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component,  {
             cn : [
                 {
                     tag : 'button',
-                    cls : 'btn ' + ((this.weight) ? ('btn-' + this.weight) : ''),
+                    cls : 'btn btn-' + this.weight,
                     html : this.html
                 },
                 {
                     tag : 'button',
-                    cls : 'dropdown-toggle btn ' + ((this.weight) ? ('btn-' + this.weight) : ''),
+                    cls : 'dropdown-toggle btn-' + this.weight,
                     cn : [
                         {
                             tag : 'span',