Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Wed, 8 Aug 2018 08:46:26 +0000 (16:46 +0800)
committerEdward <edward@roojs.com>
Wed, 8 Aug 2018 08:46:26 +0000 (16:46 +0800)
Roo/bootstrap/Button.js

index 038e3db..a4ea8e6 100644 (file)
@@ -309,7 +309,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         }
         
         if (this.pressed === true || this.pressed === false) {
-            this.toggleActive(!this.pressed);
+            this.toggleActive();
         }