aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/plugin.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/plugin.js')
-rw-r--r--src/webview/plugin.js2
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', () => {
47const originalWindowOpen = window.open; 47const originalWindowOpen = window.open;
48 48
49window.open = (url, frameName, features) => { 49window.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 }