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; |
} |