Skip to content

Commit

Permalink
Fix the preferences window and other overlays (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
CvX authored and sindresorhus committed Jun 29, 2019
1 parent 5e80616 commit ec3e687
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ async function openPreferences(): Promise<void> {
await withSettingsMenu(() => {
selectMenuItem(1);
});

await elementReady(preferencesSelector);
}

function isPreferencesOpen(): boolean {
Expand Down

0 comments on commit ec3e687

Please sign in to comment.