diff --git a/web/skins/classic/views/js/watch.js b/web/skins/classic/views/js/watch.js index fdedad7aa..871de3f87 100644 --- a/web/skins/classic/views/js/watch.js +++ b/web/skins/classic/views/js/watch.js @@ -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'); }