From d0dd07a9ac08287b72fc9706fa3970215c62cd80 Mon Sep 17 00:00:00 2001 From: choelzl Date: Sun, 6 Feb 2022 21:55:03 +0100 Subject: [PATCH] WIP --- web/overlay/index.js | 3 +++ 1 file changed, 3 insertions(+) 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(); })