aboutsummaryrefslogtreecommitdiff
path: root/js/components/button.reel/button.js
diff options
context:
space:
mode:
authorAnanya Sen2012-02-10 16:03:52 -0800
committerAnanya Sen2012-02-10 16:03:52 -0800
commitc48eeb01bd726895dc577d8b843b2a75883eee07 (patch)
tree5945556f80723285396059aaecb523e27b1cbb0d /js/components/button.reel/button.js
parentc627ebb5735d55218813b073c655dae6cded6040 (diff)
downloadninja-c48eeb01bd726895dc577d8b843b2a75883eee07.tar.gz
Merge from /joseeight/ninja-internal/tree/FileIO
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/components/button.reel/button.js')
-rwxr-xr-xjs/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 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);