Roo/bootstrap/Button.js
authorJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 10:47:25 +0000 (18:47 +0800)
committerJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 10:47:25 +0000 (18:47 +0800)
Roo/bootstrap/Button.js

index 86c7eaf..6c647e6 100644 (file)
@@ -99,7 +99,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         }
         
         if (this.theme) {
-            cfg.cls = 'btn' + (this.theme=='default')?'':('-'+this.theme);
+            cfg.cls = 'btn' + (this.theme?'':('-'+this.theme));
             if (this.parentType != 'Navbar') {
                 this.weight = this.weight.length ?  this.weight : 'default';
             }