aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed/skype/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'uncompressed/skype/webview.js')
-rw-r--r--uncompressed/skype/webview.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/uncompressed/skype/webview.js b/uncompressed/skype/webview.js
index 63f445c..93a3613 100644
--- a/uncompressed/skype/webview.js
+++ b/uncompressed/skype/webview.js
@@ -88,10 +88,10 @@ module.exports = (Franz, settings) => {
88 88
89 if (link || button) { 89 if (link || button) {
90 const url = link ? link.getAttribute('href') : button.getAttribute('title'); 90 const url = link ? link.getAttribute('href') : button.getAttribute('title');
91 event.preventDefault();
92 event.stopPropagation();
93 91
94 if (url.includes('views/imgpsh_fullsize_anim')) { 92 if (url.includes('views/imgpsh_fullsize_anim')) {
93 event.preventDefault();
94 event.stopPropagation();
95 let win = new BrowserWindow({ 95 let win = new BrowserWindow({
96 width: 800, 96 width: 800,
97 height: window.innerHeight, 97 height: window.innerHeight,
@@ -101,11 +101,6 @@ module.exports = (Franz, settings) => {
101 } 101 }
102 }); 102 });
103 win.loadURL(url); 103 win.loadURL(url);
104 win.on('closed', () => {
105 win = null;
106 });
107 } else {
108 window.open(url);
109 } 104 }
110 } 105 }
111 }, true); 106 }, true);