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..ad40bfbcbc207df3a071c0965e5a3aeacaa6b9b5 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js |
@@ -1558,12 +1558,6 @@ UI.bindInput = function(input, apply, validate, numeric) { |
* @param {!Event} event |
*/ |
function onKeyDown(event) { |
- if (isEnterKey(event)) { |
dgozman
2017/04/27 22:58:55
Why was this introduced in first place? Was it the
luoe
2017/04/29 03:29:59
As far as I can tell, the history looks like this:
|
- if (validate(input.value)) |
- apply(input.value); |
- return; |
- } |
- |
if (!numeric) |
return; |