Adding a log

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-23 18:20:25 +01:00
parent c03d85b83f
commit bb59378a2d

View File

@@ -548,6 +548,11 @@ var List = {
},
vote: function(id, vote) {
Helper.log([
"Voting on video",
"client " + client,
"socket_connected " + socket_connected
]);
if(client && !socket_connected) {
if(vote != "del") {
vote_ajax(id);