Skip to content

Commit

Permalink
fix(TL): notifications
Browse files Browse the repository at this point in the history
不确定是否成功
  • Loading branch information
ted423 committed Sep 6, 2022
1 parent dbb6e0e commit 31f303c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource/sites/www.torrentleech.org/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"filters": ["query.text().replace(/,/g,'')"]
},
"messageCount": {
"selector": ["a[href='/content/articles'] i.news-notify"],
"filters": ["query.length>0 ? 255: 0"]
"selector": ["span.link[onclick*='/notifications']"],
"filters": ["parseInt(query.text().trim())"]
}
}
},
Expand Down

0 comments on commit 31f303c

Please sign in to comment.