We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 560ab0f commit e1d1a4aCopy full SHA for e1d1a4a
resources/unpacked/devtools/front_end/console/ConsoleView.js
@@ -1311,10 +1311,7 @@ Console.ConsoleView = class extends UI.VBox {
1311
this._prompt.moveCaretToEndOfPrompt();
1312
// Prevent scrolling when expanding objects in console, but focus the prompt anyway.
1313
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
- }
+ this.focus();
1318
this._viewport.element.scrollTop = oldScrollTop;
1319
}
1320
// TODO: fix this.
0 commit comments