Reset the time-seek indicator also on the web panel

This commit is contained in:
Fabio Manganiello 2019-02-13 18:01:56 +01:00
parent 4503eb31ed
commit 6ac62b0161
1 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,7 @@ $(document).ready(function() {
if ('time' in status) {
if (seekInterval) {
clearInterval(seekInterval);
seekInterval = undefined;
}
if (typeof status.time === 'string' && status.time.indexOf(':') > -1) {
@ -98,6 +99,11 @@ $(document).ready(function() {
$curTrack.find('.no-track').show();
$trackSeeker.prop('disabled', true);
if (seekInterval) {
clearInterval(seekInterval);
seekInterval = undefined;
}
$('.seek-time').text('-:--');
break;