diff options
author | Jose Antonio Marquez | 2012-02-10 15:33:20 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-10 15:33:20 -0800 |
commit | f7f445e8ced728d04de4bf1c5711f6756488a71e (patch) | |
tree | b09f00c28ff7123354af40509283ddec846f438d /js/components/button.reel/button.js | |
parent | 632a5daca17acb774b9344ccc0e9107f1643924c (diff) | |
parent | 48977780443d97b9e97b047066639c9056788041 (diff) | |
download | ninja-f7f445e8ced728d04de4bf1c5711f6756488a71e.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into FileIO
Conflicts:
js/ninja.reel/ninja.html
js/stage/stage.reel/stage.html
Diffstat (limited to 'js/components/button.reel/button.js')
-rwxr-xr-x | 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 100755 --- 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); |