Tweak options style of window.open

This commit is contained in:
Yuya Ochiai 2017-02-23 01:06:50 +09:00
parent 1ff8ec5120
commit 579e966e19

View file

@ -72,7 +72,7 @@ const MattermostView = React.createClass({
}
if (currentURL.host === destURL.host) {
// New window should disable nodeIntergration.
window.open(e.url, 'Mattermost', 'nodeIntegration=no,show=yes');
window.open(e.url, 'Mattermost', 'nodeIntegration=no, show=yes');
} else {
// if the link is external, use default browser.
shell.openExternal(e.url);