reorder
このコミットが含まれているのは:
コミット
a56a5814ba
|
@ -142,15 +142,15 @@ function heartbeat() {
|
|||
return updateStreamStatus("The stream has ended.", "red", false);
|
||||
}
|
||||
|
||||
if ( oldStreamStart != response.started ) {
|
||||
return updateStreamStatus("The stream restarted. Refresh the page.", "yellow", true);
|
||||
}
|
||||
|
||||
const serverSegment = response.current_segment;
|
||||
if ( !Number.isInteger(serverSegment) ) {
|
||||
return updateStreamStatus("The stream has ended.", "red", false);
|
||||
}
|
||||
|
||||
if ( oldStreamStart != response.started ) {
|
||||
return updateStreamStatus("The stream restarted. Refresh the page.", "yellow", true);
|
||||
}
|
||||
|
||||
// when the page is first loaded clientSegment may be null
|
||||
const clientSegment = currentSegment();
|
||||
if ( Number.isInteger(clientSegment) ) {
|
||||
|
|
読み込み中…
新しいイシューから参照