Chromium Code Reviews| 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..79812b091a3dd8faeb27ab9b981049b920754ce4 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,9 @@ WebInspector.ConsoleView.prototype = { |
| _promptKeyDown: function(event) |
| { |
| - this._updateStickToBottomOnWheel(); |
| - if (isEnterKey(event)) { |
| + if (event.key === "PageUp") { |
|
pfeldman
2016/08/18 03:32:36
WebInspector.KeyboardShortcut.Keys.PageUp
luoe
2016/08/18 15:46:45
While updating the console-viewport-stick-to-botto
|
| + this._updateStickToBottomOnWheel(); |
|
pfeldman
2016/08/18 03:32:36
return after that?
luoe
2016/08/18 15:46:45
Done.
|
| + } else if (isEnterKey(event)) { |
| this._enterKeyPressed(event); |
| return; |
| } |