aboutsummaryrefslogtreecommitdiff
path: root/js/components/button.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-09 17:22:01 -0800
committerValerio Virgillito2012-02-09 17:22:01 -0800
commit48977780443d97b9e97b047066639c9056788041 (patch)
tree06b27b22e09f91b320dc63cecf7b5dbef674a2fc /js/components/button.reel
parentb2155233351966ff579db41a7b85be554c643a97 (diff)
parentce963d45cdf2703d2d4eedfa94394b178f86e0f1 (diff)
downloadninja-48977780443d97b9e97b047066639c9056788041.tar.gz
Merge branch 'text-tool' of https://github.com/dhg637/ninja-internal into feature-branch
Diffstat (limited to 'js/components/button.reel')
-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);