mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 21:31:20 -08:00
typofix
This commit is contained in:
1 parent
49fe680c87
commit
cd001655e4
8 files changed
+63
-53
No files matched your search
@@ -32,7 +32,7 @@ export default class Progress {
|
||||
this.$tip = $control.querySelector('.art-progress-tip');
|
||||
|
||||
highlight.forEach(item => {
|
||||
const left = Number(item.time) / player.duration;
|
||||
const left = Number(item.time || 0) / player.duration;
|
||||
append(this.$highlight, `<span data-text="${item.text || ''}" data-time="${item.time || 0}" style="left: ${left * 100}%"></span>`);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user