From 7f2368f9d6e7072df98fa4a6f2d374b32060daec Mon Sep 17 00:00:00 2001 From: Nicolas Perriault Date: Tue, 30 May 2017 08:57:52 +0200 Subject: [PATCH] Fix #165: Fix blank screen after auth on Firefox. --- src/Update/Mastodon.elm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Update/Mastodon.elm b/src/Update/Mastodon.elm index 402319b..9049dda 100644 --- a/src/Update/Mastodon.elm +++ b/src/Update/Mastodon.elm @@ -38,10 +38,8 @@ update msg ({ accountInfo } as model) = Client decoded.server decoded.accessToken Nothing in { model | clients = client :: model.clients } - ! [ Command.loadTimelines <| Just client - , Command.saveClients <| client :: model.clients - , Navigation.modifyUrl model.location.pathname - , Navigation.reload + ! [ Command.saveClients <| client :: model.clients + , Navigation.load <| model.location.origin ++ model.location.pathname ] Err error ->