Roo/bootstrap/Button.js
authorAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 08:29:56 +0000 (16:29 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 08:29:56 +0000 (16:29 +0800)
Roo/bootstrap/Button.js

index da96380..3515280 100644 (file)
@@ -316,7 +316,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
      * If a state it passed, it becomes the pressed state otherwise the current state is toggled.
      * @param {Boolean} state (optional) Force a particular state
      */
-    toggleActive : function(v)
+    toggleActive : function()
     {
        var active = this.el.hasClass('active');
        this.setActive(!active);