From c1d8269145e96f04b5d5fdd9ac3c1c1193e64efc Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 31 May 2016 08:30:45 +0200 Subject: [PATCH] Fixed switch to user. --- app/assets/javascripts/app/lib/app_post/auth.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/app_post/auth.coffee b/app/assets/javascripts/app/lib/app_post/auth.coffee index 7e3599026..bd526fb98 100644 --- a/app/assets/javascripts/app/lib/app_post/auth.coffee +++ b/app/assets/javascripts/app/lib/app_post/auth.coffee @@ -141,8 +141,8 @@ class App.Auth App.Event.trigger('auth') App.Event.trigger('auth:logout') - window.location.href = '#login' if rerender + window.location.href = '#login' App.Event.trigger('ui:rerender') App.Event.trigger('clearStore')