Fix censored/uncensored icons

This commit is contained in:
DataHoarder 2024-03-30 19:14:05 +01:00
parent 1c0771bc4c
commit 55abe2f654
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk

View file

@ -1728,8 +1728,8 @@ if(
audioCount: 1,
freeleech: torrentEntry.querySelector("img[alt^='Freeleech!']") !== null,
remastered: torrentEntry.querySelector("img[alt^='Remastered']") !== null,
censoredHentai: torrentEntry.querySelector("img[src*='/hentaic.svg']") !== null,
uncensoredHentai: torrentEntry.querySelector("img[src*='/hentai.svg']") !== null,
censoredHentai: torrentEntry.querySelector("img[src*='/hentaic-']") !== null,
uncensoredHentai: torrentEntry.querySelector("img[src*='/hentai-']") !== null,
snatched: torrentEntry.textContent.match(/- Snatched/) !== null,
reported: torrentEntry.textContent.match(/- Reported/) !== null,
pruned: torrentEntry.textContent.match(/- Pruned!/) !== null