Skip to content

Commit e1d1a4a

Browse files
committed
Revert "devtools: re-land f7a3f67, fix #59"
#59 (comment) This reverts commit 560ab0f.
1 parent 560ab0f commit e1d1a4a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

resources/unpacked/devtools/front_end/console/ConsoleView.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,10 +1311,7 @@ Console.ConsoleView = class extends UI.VBox {
13111311
this._prompt.moveCaretToEndOfPrompt();
13121312
// Prevent scrolling when expanding objects in console, but focus the prompt anyway.
13131313
var oldScrollTop = this._viewport.element.scrollTop;
1314-
const isCustomExpandIcon = targetElement.classList.contains("custom-expand-icon");
1315-
if (!isCustomExpandIcon) { // see https://github.com/binaryage/dirac/issues/59
1316-
this.focus();
1317-
}
1314+
this.focus();
13181315
this._viewport.element.scrollTop = oldScrollTop;
13191316
}
13201317
// TODO: fix this.

0 commit comments

Comments
 (0)