diff --git a/web/overlay/index.js b/web/overlay/index.js index b969fde..2afafc9 100644 --- a/web/overlay/index.js +++ b/web/overlay/index.js @@ -62,14 +62,17 @@ $(function () { await new Promise(r => setTimeout(r, 500)); } socket.getDBValue("get_current_stream_info_lastFollow", 'streamInfo', 'lastFollow', (response)=>{ + consloe.log(response) if(response.streamInfo) lastFollow = response.streamInfo || lastFollow; refreshUI(); }) socket.getDBValue("get_current_stream_info_lastSub", 'streamInfo', 'lastSub', (response)=>{ + consloe.log(response) if(response.streamInfo) lastSub = response.streamInfo || lastSub; refreshUI(); }) socket.getDBValue("get_current_stream_info_lastDonator", 'streamInfo', 'lastDonator', (response)=>{ + consloe.log(response) if(response.streamInfo) lastDonator = response.streamInfo || lastDonator; refreshUI(); })