Roo/bootstrap/NavSidebarItem.js
authoredward <edward@roojs.com>
Tue, 27 Feb 2018 03:43:51 +0000 (11:43 +0800)
committeredward <edward@roojs.com>
Tue, 27 Feb 2018 03:43:51 +0000 (11:43 +0800)
Roo/bootstrap/NavSidebarItem.js

index 18ddb56..406e7e8 100644 (file)
@@ -71,7 +71,7 @@ Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
             a = {
                 tag: 'button',
                 href : this.href || '#',
-                cls: 'btn btn-' + this.buttonWeight + ' btn-' + this.buttonSize + ' ',
+                cls: 'btn btn-' + this.buttonWeight + ' btn-' + this.buttonSize,
                 html : this.html,
                 cn : []
             };
@@ -118,7 +118,7 @@ Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
         // fi
         if (this.menu) {
             a.cn.push({ tag : 'i', cls : 'glyphicon glyphicon-chevron-down pull-right'});
-            a.cls += 'dropdown-toggle treeview' ;
+            a.cls += ' dropdown-toggle treeview' ;
         }
         
         return cfg;