diff options
author | 2018-11-15 22:10:02 +0100 | |
---|---|---|
committer | 2018-11-15 22:10:02 +0100 | |
commit | 891a7d6642f5e8c4d4f56280e29489524f0d5286 (patch) | |
tree | 1cb5b86a5c790f4126dbac5686374eb7937cb093 /src/webview | |
parent | Switch to npm (diff) | |
download | ferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.tar.gz ferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.tar.zst ferdium-app-891a7d6642f5e8c4d4f56280e29489524f0d5286.zip |
Fix linting errors
Diffstat (limited to 'src/webview')
-rw-r--r-- | src/webview/plugin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview/plugin.js b/src/webview/plugin.js index c6530fef6..a148d4633 100644 --- a/src/webview/plugin.js +++ b/src/webview/plugin.js | |||
@@ -47,7 +47,7 @@ document.addEventListener('DOMContentLoaded', () => { | |||
47 | const originalWindowOpen = window.open; | 47 | const originalWindowOpen = window.open; |
48 | 48 | ||
49 | window.open = (url, frameName, features) => { | 49 | window.open = (url, frameName, features) => { |
50 | // We need to differentiate if the link should be opened in a popup or in the systems default browser | 50 | // We need to differentiate if the link should be opened in a popup or in the systems default browser |
51 | if (!frameName && !features) { | 51 | if (!frameName && !features) { |
52 | return ipcRenderer.sendToHost('new-window', url); | 52 | return ipcRenderer.sendToHost('new-window', url); |
53 | } | 53 | } |