diff options
author | Pushkar Joshi | 2012-02-24 12:08:49 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-24 12:08:49 -0800 |
commit | 03ca7a5ed13c25faaa9100bb666e062fd15335e6 (patch) | |
tree | c51112223ceb9121cd595a60335eb2795215590f /js/components/button.reel | |
parent | fcb12cc09eb3cd3b42bd215877ba18f449275b75 (diff) | |
parent | 053fc63a2950c7a5ee4ebf98033b64d474a3c46e (diff) | |
download | ninja-03ca7a5ed13c25faaa9100bb666e062fd15335e6.tar.gz |
Merge branch 'pentool' into brushtool
Conflicts:
imports/codemirror/mode/scheme/scheme.js
js/tools/BrushTool.js
Diffstat (limited to 'js/components/button.reel')
-rwxr-xr-x[-rw-r--r--] | js/components/button.reel/button.css | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/components/button.reel/button.html | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/components/button.reel/button.js | 2 |
3 files changed, 1 insertions, 1 deletions
diff --git a/js/components/button.reel/button.css b/js/components/button.reel/button.css index f50a9873..f50a9873 100644..100755 --- a/js/components/button.reel/button.css +++ b/js/components/button.reel/button.css | |||
diff --git a/js/components/button.reel/button.html b/js/components/button.reel/button.html index d0398a6a..d0398a6a 100644..100755 --- a/js/components/button.reel/button.html +++ b/js/components/button.reel/button.html | |||
diff --git a/js/components/button.reel/button.js b/js/components/button.reel/button.js index ce5ac1af..2d26c8b4 100644..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); |