Skip to content

Commit

Permalink
remove unused focusBody
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Nov 22, 2019
1 parent f17ce5f commit 17ce94c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/vs/workbench/contrib/files/browser/views/emptyView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,7 @@ export class EmptyView extends ViewletPane {
}

focus(): void {
this.focusBody();
this.button.element.focus();
}

focusBody(): void {
if (this.button) {
this.button.element.focus();
}
}
}

0 comments on commit 17ce94c

Please sign in to comment.