Minor fixes

This commit is contained in:
calzoneman 2013-04-28 12:14:52 -05:00
parent 3730ae0066
commit 89f7e26450
5 changed files with 9 additions and 4 deletions

View file

@ -987,3 +987,7 @@ li.alert-info {
.nick-highlight {
background-color: #0000aa;
}
#footer {
background-color: #111111;
}

View file

@ -10,8 +10,8 @@ html, body {
}
#footer, .push {
margin: 90px 0 0 0;
height: 30px;
margin: 0;
clear: both;
}

View file

@ -136,7 +136,7 @@ function initCallbacks() {
});
socket.on("login", function(data) {
if(!data.success)
if(!data.success && data.error != "Invalid session")
alert(data.error);
else {
$("#welcome")[0].innerHTML = "Welcome, " + uname;