Fixed issue with client vote/add and such

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-23 17:54:43 +01:00
parent 264948a88a
commit 3048527635
4 changed files with 13 additions and 6 deletions

View File

@@ -548,7 +548,7 @@ var List = {
},
vote: function(id, vote) {
if(client && !socket.connected) {
if(client && !socket_connected) {
if(vote != "del") {
vote_ajax(id);
} else {