diff options
author | 2019-10-24 15:15:42 +0200 | |
---|---|---|
committer | 2019-10-24 15:15:42 +0200 | |
commit | 54f8b191a94bd78a85b046bbf21dd2245d3a6f3e (patch) | |
tree | ada5876f0e8a697ba4693bba07f5e0f31fea1fc9 /src/webview/recipe.js | |
parent | Update submodules (diff) | |
parent | bump version to 5.4.0 (diff) | |
download | ferdium-app-54f8b191a94bd78a85b046bbf21dd2245d3a6f3e.tar.gz ferdium-app-54f8b191a94bd78a85b046bbf21dd2245d3a6f3e.tar.zst ferdium-app-54f8b191a94bd78a85b046bbf21dd2245d3a6f3e.zip |
Merge https://github.com/meetfranz/franz into franz-5.4.0-release
Diffstat (limited to 'src/webview/recipe.js')
-rw-r--r-- | src/webview/recipe.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/webview/recipe.js b/src/webview/recipe.js index ddfd0e139..2bf8f757a 100644 --- a/src/webview/recipe.js +++ b/src/webview/recipe.js | |||
@@ -242,7 +242,9 @@ window.open = (url, frameName, features) => { | |||
242 | return ipcRenderer.sendToHost('new-window', url); | 242 | return ipcRenderer.sendToHost('new-window', url); |
243 | } | 243 | } |
244 | 244 | ||
245 | return originalWindowOpen(url, frameName, features); | 245 | if (url) { |
246 | return originalWindowOpen(url, frameName, features); | ||
247 | } | ||
246 | }; | 248 | }; |
247 | 249 | ||
248 | if (isDevMode) { | 250 | if (isDevMode) { |