mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 17:17:45 +01:00
Fixed preview bar hover text error
This commit is contained in:
parent
c68aabaa40
commit
aec287f0cf
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class PreviewBar {
|
|||
|
||||
// Find category at that location
|
||||
let category = null;
|
||||
for (let i = 0; i < this.timestamps.length; i++) {
|
||||
for (let i = 0; i < this.timestamps?.length; i++) {
|
||||
if (this.timestamps[i][0] < timeInSeconds && this.timestamps[i][1] > timeInSeconds){
|
||||
category = this.types[i];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue