Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
toulanboy committed Sep 18, 2022
1 parent 1dd68e8 commit 68e0ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ithome_ad/ithome_ad.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (url.indexOf("newslist") != -1 || url.indexOf("listpage") != -1) {
}
}
} else if (listData[i].feedType == 10000) {
if (!listData[i].feedContent.smallTags[0].text && listData[i].feedContent.smallTags[0].text.indexOf("广告") != -1) {
if (listData[i].feedContent.smallTags[0].text != null && listData[i].feedContent.smallTags[0].text.indexOf("广告") != -1) {
listData.splice(i, 1)
}
}
Expand Down

0 comments on commit 68e0ff7

Please sign in to comment.