fix podcastsoff2

- fixed the emergence of some sections with podcasts on the main page
This commit is contained in:
amd64fox
2023-03-16 03:21:44 +03:00
parent 0e64ba6b1c
commit e304ca5383

View File

@@ -122,7 +122,7 @@
"do": ""
},
"match": "(\\!Array.isArray\\(.\\)\\|\\|.===..length\\)return null;)",
"replace": "$1 const key = e.children?.[0]?.key || e[0]?.key; if (!key || key.includes('episode') || key.includes('show')) {return null;};"
"replace": "$1 for (let i = 0; i < e.length; i++) { const key = e.children?.[i]?.key || e[i]?.key; if (!key || key.includes('episode') || key.includes('show')) { return null;}};"
},
"adsectionsoff": {
"version": {