fix for the stats page

This commit is contained in:
Steve Seguin 2022-05-14 20:08:27 -04:00 committed by GitHub
parent 584cdbb740
commit 2aa607e408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -476,6 +476,9 @@
margin:0; margin:0;
padding:0; padding:0;
} }
.debugStats{
padding: 20px 20px 100px 20px;
}
.directorsgrid .vidcon { .directorsgrid .vidcon {
display: inline-block !important; display: inline-block !important;
width: 293.7px !important; width: 293.7px !important;
@ -613,9 +616,9 @@
//if (e.data.value){ //if (e.data.value){
// iframe.contentWindow.postMessage({"getStreamIDs":true}, '*'); // iframe.contentWindow.postMessage({"getStreamIDs":true}, '*');
if (e.data.streamID){ if (e.data.streamID){
updateStreams();
if (streamIDs.includes(e.data.streamID)){return;} if (streamIDs.includes(e.data.streamID)){return;}
streamIDs.push(e.data.streamID); streamIDs.push(e.data.streamID);
updateStreams();
} }
} else if (e.data.action == "requested-stream"){ } else if (e.data.action == "requested-stream"){
if (streamIDs.includes(e.data.value)){return;} if (streamIDs.includes(e.data.value)){return;}