Skip to content

Commit

Permalink
fix: open any url from tab's BrowserView. Closes #359
Browse files Browse the repository at this point in the history
  • Loading branch information
ChugunovRoman committed Jan 15, 2024
1 parent 90e360b commit dfbbaed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/Ui/Tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,7 @@ export default class Tab {
private windowOpenHandler(details: HandlerDetails) {
const url = details.url;

if (isFigmaUrl(url)) {
shell.openExternal(url);
return { action: "deny" };
}
shell.openExternal(url);

return { action: "deny" };
}
Expand Down

0 comments on commit dfbbaed

Please sign in to comment.