Roo/bootstrap/Button.js
authorbenny <benny@roojs.com>
Fri, 20 Jul 2018 07:57:30 +0000 (15:57 +0800)
committerbenny <benny@roojs.com>
Fri, 20 Jul 2018 07:57:30 +0000 (15:57 +0800)
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';
         }