mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Forgot to added type
This commit is contained in:
2
static/dist/main.min.js
vendored
2
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -315,7 +315,7 @@ function hide_native(way){
|
|||||||
function chromecastListener(evt, data){
|
function chromecastListener(evt, data){
|
||||||
console.log(data);
|
console.log(data);
|
||||||
var json_parsed = JSON.parse(data);
|
var json_parsed = JSON.parse(data);
|
||||||
switch(json_parsed){
|
switch(json_parsed.type){
|
||||||
case -1:
|
case -1:
|
||||||
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
|
socket.emit("end", {id: json_parsed.videoId, channel: chan.toLowerCase()});
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user