Fix setting img.src to new url. Won't have any effect here as we are reloading the whole page.
This commit is contained in:
parent
9e9860d6c0
commit
bb50de268b
|
@ -290,8 +290,8 @@ function getStreamCmdResponse(respObj, respText) {
|
|||
var oldSrc = streamImg.attr('src');
|
||||
var newSrc = oldSrc.replace(/rand=\d+/i, 'rand='+Math.floor((Math.random() * 1000000) ));
|
||||
|
||||
streamImg.src = newSrc;
|
||||
console.log('Changing livestream src to ' + streamImg.src);
|
||||
streamImg.attr('src', newSrc);
|
||||
console.log('Changing livestream src to ' + newSrc);
|
||||
} else {
|
||||
console.log('Unable to find streamImg liveStream');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue