From 5b319258c4420482499d1b51786cc1c92eac0744 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 27 Feb 2022 14:26:05 -0500 Subject: [PATCH] fix eslint --- web/skins/classic/views/js/watch.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/skins/classic/views/js/watch.js b/web/skins/classic/views/js/watch.js index 9a1e6d3a4..0f7cf26fa 100644 --- a/web/skins/classic/views/js/watch.js +++ b/web/skins/classic/views/js/watch.js @@ -610,8 +610,7 @@ function controlCmdImage(x, y) { function fetchImage(streamImage) { const oldsrc = streamImage.attr('src'); -const newsrc = oldsrc.replace(/rand=\d+/i, 'rand='+Math.floor((Math.random() * 1000000) )); -console.log("New src: " + newsrc); + const newsrc = oldsrc.replace(/rand=\d+/i, 'rand='+Math.floor((Math.random() * 1000000) )); streamImage.attr('src', ''); streamImage.attr('src', newsrc); }