From 8c6a8f0338b5510b20f5bca3574e13c0146d5350 Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Tue, 26 Apr 2016 22:40:21 +0900 Subject: [PATCH] Prettify previous commit --- src/browser/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {