Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js

Issue 2251203003: DevTools: Remove 200ms delay in console prompt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added return Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
index 6635cbf05066e22a6e49547509d667ac39adddbf..f8fd05a31ddea788ce781dee50b1919e7ecdcefa 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
@@ -770,8 +770,10 @@ WebInspector.ConsoleView.prototype = {
_promptKeyDown: function(event)
{
- this._updateStickToBottomOnWheel();
- if (isEnterKey(event)) {
+ if (event.key === "PageUp") {
+ this._updateStickToBottomOnWheel();
+ return;
+ } else if (isEnterKey(event)) {
this._enterKeyPressed(event);
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698