fix javlibrary genre route because some spans may not have class attr in individual pages (#14334)

This commit is contained in:
KTachibanaM
2024-01-29 03:28:33 +08:00
committed by GitHub
parent 0f6240e2d9
commit 00fecf46fc
+1 -1
View File
@@ -55,7 +55,7 @@ module.exports = {
content('.icn_edit, .btn_videoplayer, a[rel="bookmark"]').remove();
content('span').each(function () {
if (content(this).attr('class').startsWith('icn_')) {
if (content(this).attr('class')?.startsWith('icn_')) {
content(this).remove();
}
});