WIP
This commit is contained in:
parent
8015271ad2
commit
d0dd07a9ac
@ -62,14 +62,17 @@ $(function () {
|
|||||||
await new Promise(r => setTimeout(r, 500));
|
await new Promise(r => setTimeout(r, 500));
|
||||||
}
|
}
|
||||||
socket.getDBValue("get_current_stream_info_lastFollow", 'streamInfo', 'lastFollow', (response)=>{
|
socket.getDBValue("get_current_stream_info_lastFollow", 'streamInfo', 'lastFollow', (response)=>{
|
||||||
|
consloe.log(response)
|
||||||
if(response.streamInfo) lastFollow = response.streamInfo || lastFollow;
|
if(response.streamInfo) lastFollow = response.streamInfo || lastFollow;
|
||||||
refreshUI();
|
refreshUI();
|
||||||
})
|
})
|
||||||
socket.getDBValue("get_current_stream_info_lastSub", 'streamInfo', 'lastSub', (response)=>{
|
socket.getDBValue("get_current_stream_info_lastSub", 'streamInfo', 'lastSub', (response)=>{
|
||||||
|
consloe.log(response)
|
||||||
if(response.streamInfo) lastSub = response.streamInfo || lastSub;
|
if(response.streamInfo) lastSub = response.streamInfo || lastSub;
|
||||||
refreshUI();
|
refreshUI();
|
||||||
})
|
})
|
||||||
socket.getDBValue("get_current_stream_info_lastDonator", 'streamInfo', 'lastDonator', (response)=>{
|
socket.getDBValue("get_current_stream_info_lastDonator", 'streamInfo', 'lastDonator', (response)=>{
|
||||||
|
consloe.log(response)
|
||||||
if(response.streamInfo) lastDonator = response.streamInfo || lastDonator;
|
if(response.streamInfo) lastDonator = response.streamInfo || lastDonator;
|
||||||
refreshUI();
|
refreshUI();
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user