Tweak options style of window.open
This commit is contained in:
parent
1ff8ec5120
commit
579e966e19
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue