Merge pull request #453 from yuya-oc/fix-window-open

Fix window.open() looks not working
This commit is contained in:
Yuya Ochiai
2017-02-23 01:08:44 +09:00
committed by GitHub

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');
window.open(e.url, 'Mattermost', 'nodeIntegration=no, show=yes');
} else {
// if the link is external, use default browser.
shell.openExternal(e.url);