projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/Button.js
[roojs1]
/
Roo
/
bootstrap
/
Button.js
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
a4ea8e6
..
3950538
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-347,10
+347,7
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
*/
toggleActive : function()
{
- var active = this.el.hasClass('active');
- this.setActive(!active);
-
-
+ this.setActive(this.pressed);
},
/**
* get the current active state