diff --git a/src/browser/index.jsx b/src/browser/index.jsx index 642c7d43..42498afb 100644 --- a/src/browser/index.jsx +++ b/src/browser/index.jsx @@ -272,7 +272,7 @@ var MattermostView = React.createClass({ webview.addEventListener('new-window', function(e) { var currentURL = url.parse(webview.getURL()); var destURL = url.parse(e.url); - if (destURL.protocol !== 'http:' && destURL.protocol !== 'https:'){ + if (destURL.protocol !== 'http:' && destURL.protocol !== 'https:') { return; } if (currentURL.host === destURL.host) {