diff options
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); |