diff options
author | Armen Kesablyan | 2012-02-09 17:11:38 -0800 |
---|---|---|
committer | Armen Kesablyan | 2012-02-09 17:11:38 -0800 |
commit | ce963d45cdf2703d2d4eedfa94394b178f86e0f1 (patch) | |
tree | 13bc9d7acdac3777c48fce1de2ad4b8957d0886c /js/components/button.reel | |
parent | 10f0ad4c15f090b2d0d50d11e4c7aaf291e9eb0e (diff) | |
download | ninja-ce963d45cdf2703d2d4eedfa94394b178f86e0f1.tar.gz |
More Text Tool Updates
Diffstat (limited to 'js/components/button.reel')
-rw-r--r-- | js/components/button.reel/button.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/button.reel/button.js b/js/components/button.reel/button.js index ce5ac1af..2d26c8b4 100644 --- a/js/components/button.reel/button.js +++ b/js/components/button.reel/button.js | |||
@@ -179,7 +179,7 @@ var Button = exports.Button = Montage.create(Component, { | |||
179 | value: function() { | 179 | value: function() { |
180 | if(this.isToggleButton) | 180 | if(this.isToggleButton) |
181 | { | 181 | { |
182 | if(this._value) | 182 | if(this._value === true) |
183 | { | 183 | { |
184 | this.element.classList.remove(this.offState); | 184 | this.element.classList.remove(this.offState); |
185 | this.element.classList.add(this.onState); | 185 | this.element.classList.add(this.onState); |