Skip to content

Commit

Permalink
Fix bad boolean logic
Browse files Browse the repository at this point in the history
  • Loading branch information
alts committed Aug 7, 2023
1 parent e212026 commit 502c561
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/reactors/web-contents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ function loadURL(wc: WebContents, url: string) {
parsedUrl.origin.endsWith(".itch.io") ||
parsedUrl.origin.endsWith("/itch.io")
) {
return;
wc.loadURL(url);
}
wc.loadURL(url);
}

export default function (watcher: Watcher) {
Expand Down

0 comments on commit 502c561

Please sign in to comment.