From b32b9028225739a876305372e9772aa29a58b507 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 May 2014 12:55:37 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 2f892c3039..fc5b4bd040 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -281,7 +281,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { } if (this.pressed === true || this.pressed === false) { this.pressed = !this.pressed; - this[this.pressed ? 'addClass' : 'removeClass']('active'); + this.el[this.pressed ? 'addClass' : 'removeClass']('active'); this.fireEvent('toggle', this, e, this.pressed); } -- 2.39.2