Reset the time-seek indicator also on the web panel
This commit is contained in:
parent
4503eb31ed
commit
6ac62b0161
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue