projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bffabb
)
Roo/bootstrap/Button.js
author
benny
<benny@roojs.com>
Fri, 20 Jul 2018 08:17:48 +0000
(16:17 +0800)
committer
benny
<benny@roojs.com>
Fri, 20 Jul 2018 08:17:48 +0000
(16:17 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
6dcdf58
..
a3a991b
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-308,6
+308,7
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
if(this.preventDefault){
e.preventDefault();
}
+
if (this.pressed === true || this.pressed === false) {
this.pressed = !this.pressed;
this.el[this.pressed ? 'addClass' : 'removeClass']('active');