diff --git a/static/js/messages.js b/static/js/messages.js index e872747..f928cff 100644 --- a/static/js/messages.js +++ b/static/js/messages.js @@ -21,6 +21,7 @@ function handleMessage(msg) { } else { // else, it's just info, or an event console.log(msg.data); if(msg.data === 'streamTerminated') { // if it's a recognized event, notify the appropriate function + $('#loadingSpinner').css('display', 'none'); // This is a fallback for RTSP handshake failing, which immediately terminates the stream. api.refreshServerInfo().then(function (ret) { showAppsMode(); chrome.app.window.current().restore();