Stopping a range of functions

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-18 20:18:36 +01:00
parent 05a24e63ba
commit 48f14c644e
4 changed files with 7 additions and 7 deletions

View File

@@ -308,7 +308,7 @@ function chromecastListener(evt, data){
console.log(data);
var json_parsed = JSON.parse(data);
switch(json_parsed){
case "-1":
case -1:
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
break;
}