Prettify previous commit

This commit is contained in:
Yuya Ochiai
2016-04-26 22:40:21 +09:00
parent dc7e7181ec
commit 8c6a8f0338

View File

@@ -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) {