diff --git a/web/overlay/index.html b/web/overlay/index.html index 9225ccd..80dc116 100644 --- a/web/overlay/index.html +++ b/web/overlay/index.html @@ -18,7 +18,7 @@
Last Follow:
-
Last Sub:
-
-
Last Dono:
-
+
Last Donation:
diff --git a/web/overlay/index.js b/web/overlay/index.js index af2b687..b969fde 100644 --- a/web/overlay/index.js +++ b/web/overlay/index.js @@ -61,15 +61,15 @@ $(function () { while(socket.getReadyState() === 0){ await new Promise(r => setTimeout(r, 500)); } - socket.getDBValue("get_current_stream_info", 'streamInfo', 'lastFollow', (response)=>{ + socket.getDBValue("get_current_stream_info_lastFollow", 'streamInfo', 'lastFollow', (response)=>{ if(response.streamInfo) lastFollow = response.streamInfo || lastFollow; refreshUI(); }) - socket.getDBValue("get_current_stream_info", 'streamInfo', 'lastSub', (response)=>{ + socket.getDBValue("get_current_stream_info_lastSub", 'streamInfo', 'lastSub', (response)=>{ if(response.streamInfo) lastSub = response.streamInfo || lastSub; refreshUI(); }) - socket.getDBValue("get_current_stream_info", 'streamInfo', 'lastDonator', (response)=>{ + socket.getDBValue("get_current_stream_info_lastDonator", 'streamInfo', 'lastDonator', (response)=>{ if(response.streamInfo) lastDonator = response.streamInfo || lastDonator; refreshUI(); })