Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
index d2d831687423820b9c2657c6cf241453dc47f02f..b771c66cd6fd8dde5f5bf004dadba4fbe2f0b754 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
@@ -1561,6 +1561,7 @@ UI.bindInput = function(input, apply, validate, numeric) { |
if (isEnterKey(event)) { |
if (validate(input.value)) |
apply(input.value); |
+ event.preventDefault(); |
return; |
} |