mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix sponsorblock.
This commit is contained in:
parent
a1ff5c53ce
commit
531804af94
1 changed files with 6 additions and 1 deletions
|
@ -132,7 +132,12 @@ export default {
|
||||||
"?category=" +
|
"?category=" +
|
||||||
(localStorage
|
(localStorage
|
||||||
? encodeURIComponent(
|
? encodeURIComponent(
|
||||||
"[" + localStorage.getItem("selectedSkip") + "]"
|
'["' +
|
||||||
|
localStorage
|
||||||
|
.getItem("selectedSkip")
|
||||||
|
.split(",")
|
||||||
|
.join('","') +
|
||||||
|
'"]'
|
||||||
)
|
)
|
||||||
: encodeURIComponent(
|
: encodeURIComponent(
|
||||||
'["sponsor", "interaction", "selfpromo", "music_offtopic"]'
|
'["sponsor", "interaction", "selfpromo", "music_offtopic"]'
|
||||||
|
|
Loading…
Reference in a new issue