mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-06 11:37:02 +03:00
Fix Firefox infinite recursion issue.
This commit is contained in:
@@ -48,7 +48,7 @@ class SBMap<T, U> extends Map {
|
|||||||
// Import all entries if they were given
|
// Import all entries if they were given
|
||||||
if (entries !== undefined) {
|
if (entries !== undefined) {
|
||||||
for (const item of entries) {
|
for (const item of entries) {
|
||||||
this.set(item[0], item[1])
|
super.set(item[0], item[1])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user