diff options
author | Eric Guzman | 2012-05-16 14:59:43 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-16 14:59:43 -0700 |
commit | 62a47c22cf5fb76289a50be8e73de1ae8c55c78f (patch) | |
tree | 7a42fc4e4c24355f50f813d04245c041d46c2b76 /js/panels/css-panel/css-style.reel/css-style.js | |
parent | bbca3e05b39d43ce13c2f3e48cb33630ed7948b9 (diff) | |
download | ninja-62a47c22cf5fb76289a50be8e73de1ae8c55c78f.tar.gz |
CSS Panel - Fix toggling style on/off.
Diffstat (limited to 'js/panels/css-panel/css-style.reel/css-style.js')
-rw-r--r-- | js/panels/css-panel/css-style.reel/css-style.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/panels/css-panel/css-style.reel/css-style.js b/js/panels/css-panel/css-style.reel/css-style.js index face668e..61723284 100644 --- a/js/panels/css-panel/css-style.reel/css-style.js +++ b/js/panels/css-panel/css-style.reel/css-style.js | |||
@@ -22,7 +22,7 @@ exports.CssStyle = Montage.create(Component, { | |||
22 | return this._valueText; | 22 | return this._valueText; |
23 | }, | 23 | }, |
24 | set: function(text) { | 24 | set: function(text) { |
25 | this._valueText = text; | 25 | this._valueText = this.browserValue = text; |
26 | this.units = this.getUnits(text); | 26 | this.units = this.getUnits(text); |
27 | } | 27 | } |
28 | }, | 28 | }, |
@@ -315,7 +315,6 @@ exports.CssStyle = Montage.create(Component, { | |||
315 | 315 | ||
316 | prepareForDraw : { | 316 | prepareForDraw : { |
317 | value: function() { | 317 | value: function() { |
318 | console.log("style's prepare for draw"); | ||
319 | this.element.addEventListener('dragstart', this, false); | 318 | this.element.addEventListener('dragstart', this, false); |
320 | this.element.addEventListener('drag', this, false); | 319 | this.element.addEventListener('drag', this, false); |
321 | this.element.addEventListener('dragend', this, false); | 320 | this.element.addEventListener('dragend', this, false); |