aboutsummaryrefslogtreecommitdiff
path: root/js/components/button.reel/button.js
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-10 15:14:35 -0800
committerNivesh Rajbhandari2012-02-10 15:14:35 -0800
commitde65f73c0f129a26aa9007b69e8fce31d0e92d00 (patch)
treee0fd4bbc44b96909d7619593b29d9b063209a7ce /js/components/button.reel/button.js
parent9e40945a5bf4330d1088b56b8011ee625b1adab9 (diff)
parent48977780443d97b9e97b047066639c9056788041 (diff)
downloadninja-de65f73c0f129a26aa9007b69e8fce31d0e92d00.tar.gz
Merge branch 'refs/heads/ninja-internal' into WebGLFixes
Diffstat (limited to 'js/components/button.reel/button.js')
-rw-r--r--js/components/button.reel/button.js2
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);