aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/panels/css-panel/styles-view-delegate.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/panels/css-panel/styles-view-delegate.js b/js/panels/css-panel/styles-view-delegate.js
index a187a702..56727d40 100644
--- a/js/panels/css-panel/styles-view-delegate.js
+++ b/js/panels/css-panel/styles-view-delegate.js
@@ -142,6 +142,11 @@ exports.StylesViewMediator = Montage.create(Component, {
142 var browserValue; 142 var browserValue;
143 143
144 if(style.editingNewStyle) { 144 if(style.editingNewStyle) {
145 if(property === '') {
146 style.propertyField.value = 'property';
147 style.propertyField.isDirty = false;
148 style.editingNewStyle = false;
149 }
145 return false; 150 return false;
146 } 151 }
147 152