1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 06:25:56 +00:00

fix name display in catchup prompt in category view mode

This commit is contained in:
Andrew Dolgov
2006-08-01 05:59:21 +01:00
parent d6e5706d7e
commit 234e467cad
3 changed files with 18 additions and 5 deletions

View File

@@ -1363,9 +1363,16 @@ function fatalError(code, message) {
}
}
function getFeedName(id) {
function getFeedName(id, is_cat) {
var d = getFeedsContext().document;
var e = d.getElementById("FEEDN-" + id);
var e;
if (is_cat) {
e = d.getElementById("FCATN-" + id);
} else {
e = d.getElementById("FEEDN-" + id);
}
if (e) {
return e.innerHTML.stripTags();
} else {