From: Alan Knowles Date: Fri, 16 May 2014 08:30:21 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=904c2af4196393e899e912af3d940a8eff3ee602 Roo/bootstrap/Button.js --- diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 35152800c3..47f432ac23 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -309,12 +309,9 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { setActive : function(v) { this.el[v ? 'addClass' : 'removeClass']('active'); - - }, /** - * If a state it passed, it becomes the pressed state otherwise the current state is toggled. - * @param {Boolean} state (optional) Force a particular state + * toggles the current active state */ toggleActive : function() {