Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index b9f0a00..7de7215 100644 (file)
@@ -167,7 +167,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         }
         
         
-        if (this.active) {
+        if (this.active || this.pressed === true) {
             cfg.cls += ' active';
         }