From b05035c3afc1b106962fcdd969f15a3fca24439b Mon Sep 17 00:00:00 2001 From: urkerab Date: Thu, 5 Oct 2017 22:12:27 +0100 Subject: [PATCH] Dispatch fragment after processing autojoins (#1021) --- js/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/client.js b/js/client.js index 939259c0a..7a3e00358 100644 --- a/js/client.js +++ b/js/client.js @@ -411,6 +411,9 @@ } } app.send('/autojoin ' + autojoinIds.join(',')); + + // HTML5 history throws exceptions when running on file:// + Backbone.history.start({pushState: !Config.testclient}); }); } @@ -614,9 +617,6 @@ Storage.whenAppLoaded.load(this); this.initializeConnection(); - - // HTML5 history throws exceptions when running on file:// - Backbone.history.start({pushState: !Config.testclient}); }, /** * Start up the client, including loading teams and preferences,