Index: Source/WebCore/inspector/front-end/StylesSidebarPane.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/StylesSidebarPane.js (revision 113151) |
+++ Source/WebCore/inspector/front-end/StylesSidebarPane.js (working copy) |
@@ -59,7 +59,7 @@ |
this.settingsSelectElement.appendChild(option); |
// Prevent section from collapsing. |
- var muteEventListener = function(event) { event.consume(); }; |
+ var muteEventListener = function(event) { event.consume(true); }; |
this.settingsSelectElement.addEventListener("click", muteEventListener, true); |
this.settingsSelectElement.addEventListener("change", this._changeSetting.bind(this), false); |
@@ -1257,7 +1257,7 @@ |
_handleSelectorClick: function(event) |
{ |
this._startEditingOnMouseEvent(); |
- event.consume(); |
+ event.consume(true); |
}, |
_startEditingOnMouseEvent: function() |
@@ -1805,7 +1805,7 @@ |
scrollerElement.addEventListener("scroll", repositionSpectrum, false); |
} |
} |
- e.consume(); |
+ e.consume(true); |
} |
function getFormat() |
@@ -2025,7 +2025,7 @@ |
_mouseClick: function(event) |
{ |
- event.consume(); |
+ event.consume(true); |
if (event.target === this.listItemElement) { |
if (!this.section.editable) |