diff --git a/src/themes/smalltalk.view b/src/themes/smalltalk.view index 7d67733..5c89baa 100644 --- a/src/themes/smalltalk.view +++ b/src/themes/smalltalk.view @@ -443,17 +443,17 @@ autoupdate(); is_running = false; }).fail(function( msg ) { - msg = msg.responseJSON; - if(msg.error == "expired") { + $msg = msg.responseJSON; + if($msg.error == "expired") { command("expired"); } - else if(msg.error == "session-timeout") { + else if($msg.error == "session-timeout") { command("session-timeout"); } else { connection_timer.start(); is_running = false; - console.log(msg); + console.log($msg); } }); }