fix javlibrary genre route because some spans may not have class attr in individual pages (#14334)
This commit is contained in:
parent
0f6240e2d9
commit
00fecf46fc
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue