mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 09:07:45 +01:00
Fix broken shadow ban check
This commit is contained in:
parent
d8a48ed9bc
commit
65f7f9605f
1 changed files with 2 additions and 0 deletions
|
@ -633,6 +633,8 @@ function sponsorsLookup(id: string) {
|
|||
getRequest.then(async (response: FetchResponse) => {
|
||||
if (response?.ok) {
|
||||
let getResult = JSON.parse(response.responseText);
|
||||
console.log(getResult);
|
||||
alert(getResult.length);
|
||||
if (Config.config.hashPrefix) {
|
||||
getResult = getResult.filter((video) => video.videoID === id);
|
||||
if (getResult.length > 0) {
|
||||
|
|
Loading…
Reference in a new issue