From 2d4b5b535c2a3df875a0a3c97cdd25ed67275b29 Mon Sep 17 00:00:00 2001 From: Robert Zorko Date: Mon, 14 Dec 2015 15:55:39 +0100 Subject: fixed the bug with the overlay not beeing hidden after server times out --- js/codeq/navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/codeq/navigation.js') diff --git a/js/codeq/navigation.js b/js/codeq/navigation.js index da2b04a..62344e5 100644 --- a/js/codeq/navigation.js +++ b/js/codeq/navigation.js @@ -91,9 +91,9 @@ along with this program. If not, see . */ name = 'login';//this will cause the following code to transition to the login state instead of the original one given } - var newState = def[name];//if the newState is not the same as the old or if it doesn't exist at all is already checked at this point if (currState) currState.exit(); + currState = newState; currState.enter.apply(currState, Array.prototype.slice.apply(arguments, [1])); } -- cgit v1.2.1