From 904c2af4196393e899e912af3d940a8eff3ee602 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 May 2014 16:30:21 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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() { -- 2.39.2