fix eslint
This commit is contained in:
parent
abb8aa5da5
commit
5b319258c4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue