Index: Source/WebCore/inspector/front-end/StylesSidebarPane.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/StylesSidebarPane.js (revision 147339) |
+++ Source/WebCore/inspector/front-end/StylesSidebarPane.js (working copy) |
@@ -2089,14 +2089,10 @@ |
selectElement = selectElement.enclosingNodeOrSelfWithClass("webkit-css-property") || selectElement.enclosingNodeOrSelfWithClass("value"); |
var isEditingName = selectElement === this.nameElement; |
- if (!isEditingName) { |
- if (selectElement !== this.valueElement) { |
- // Click in the LI - start editing value. |
- isEditingName = false; |
- selectElement = this.valueElement; |
- } |
- |
- this.valueElement.textContent = this.value; |
+ if (!isEditingName && selectElement !== this.valueElement) { |
+ // Double-click in the LI - start editing value. |
+ isEditingName = false; |
+ selectElement = this.valueElement; |
} |
if (WebInspector.isBeingEdited(selectElement)) |