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 | 4 |
1 files changed, 2 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 327448b0..8fd0f156 100644 --- a/js/panels/css-panel/css-style.reel/css-style.js +++ b/js/panels/css-panel/css-style.reel/css-style.js | |||
@@ -374,14 +374,14 @@ exports.CssStyle = Montage.create(Component, { | |||
374 | draw : { | 374 | draw : { |
375 | value : function() { | 375 | value : function() { |
376 | if(this.empty) { | 376 | if(this.empty) { |
377 | this.element.draggable = false; | 377 | //this.element.draggable = false; |
378 | this.element.classList.add(this.emptyStyleClass); | 378 | this.element.classList.add(this.emptyStyleClass); |
379 | if(!this.addStyleButton.parentNode) { | 379 | if(!this.addStyleButton.parentNode) { |
380 | this.element.appendChild(this.addStyleButton); | 380 | this.element.appendChild(this.addStyleButton); |
381 | this.addStyleButton.addEventListener('click', this, false); | 381 | this.addStyleButton.addEventListener('click', this, false); |
382 | } | 382 | } |
383 | } else { | 383 | } else { |
384 | this.element.draggable = true; | 384 | //this.element.draggable = true; |
385 | this.element.classList.remove(this.emptyStyleClass); | 385 | this.element.classList.remove(this.emptyStyleClass); |
386 | if(this.addStyleButton.parentNode) { | 386 | if(this.addStyleButton.parentNode) { |
387 | this.element.removeChild(this.addStyleButton); | 387 | this.element.removeChild(this.addStyleButton); |