Fix failing tests

Setting filename to window.location is no longer working.
This commit is contained in:
Yuya Ochiai
2019-02-05 00:08:03 +09:00
parent 847f215b6f
commit 596f3a8721
2 changed files with 2 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ const teams = settings.mergeDefaultTeams(AppConfig.data.teams);
remote.getCurrentWindow().removeAllListeners('focus');
if (teams.length === 0) {
window.location = 'settings.html';
remote.getCurrentWindow().loadFile('browser/settings.html');
}
function showBadgeWindows(sessionExpired, unreadCount, mentionCount) {