fix eslint

This commit is contained in:
Isaac Connor 2022-02-27 14:26:05 -05:00
parent abb8aa5da5
commit 5b319258c4
1 changed files with 1 additions and 2 deletions

View File

@ -611,7 +611,6 @@ 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);
streamImage.attr('src', '');
streamImage.attr('src', newsrc);
}