Skip to content

Commit

Permalink
devtools: my custom-expand-icon hack is no longer needed
Browse files Browse the repository at this point in the history
this reverts f7a3f67, see issue #59
  • Loading branch information
darwin committed Apr 29, 2017
1 parent 9923257 commit df5896c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions resources/unpacked/devtools/front_end/console/ConsoleView.js
Original file line number Diff line number Diff line change
Expand Up @@ -1192,10 +1192,7 @@ Console.ConsoleView = class extends UI.VBox {
var clickedOutsideMessageList = event.target === this._messagesElement;
if (clickedOutsideMessageList)
this._prompt.moveCaretToEndOfPrompt();
const isCustomExpandIcon = targetElement.classList.contains("custom-expand-icon");
if (!isCustomExpandIcon) { // see https://github.com/binaryage/dirac/issues/59
this.focus();
}
this.focus();
}
var groupMessage = event.target.enclosingNodeOrSelfWithClass('console-group-title');
if (!groupMessage)
Expand Down

0 comments on commit df5896c

Please sign in to comment.