Skip to content

Commit cb0facc

Browse files
authored
Rename the variable msg to be $msg.
1 parent 5552179 commit cb0facc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/themes/smalltalk.view

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,17 +443,17 @@
443443
autoupdate();
444444
is_running = false;
445445
}).fail(function( msg ) {
446-
msg = msg.responseJSON;
447-
if(msg.error == "expired") {
446+
$msg = msg.responseJSON;
447+
if($msg.error == "expired") {
448448
command("expired");
449449
}
450-
else if(msg.error == "session-timeout") {
450+
else if($msg.error == "session-timeout") {
451451
command("session-timeout");
452452
}
453453
else {
454454
connection_timer.start();
455455
is_running = false;
456-
console.log(msg);
456+
console.log($msg);
457457
}
458458
});
459459
}

0 commit comments

Comments
 (0)