mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-08-07 03:04:03 +00:00
Fix sponsorblock.
This commit is contained in:
@@ -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"]'
|
||||||
|
Reference in New Issue
Block a user