summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-08-01 05:59:21 +0100
committerAndrew Dolgov <[email protected]>2006-08-01 05:59:21 +0100
commit234e467cad708a98044cdcd647466e48feb9835b (patch)
tree89fc744929c47b17cbe1097e75c1cc931c161126 /functions.js
parentd6e5706d7e127c747a9ff4dd092676fadf616af3 (diff)
fix name display in catchup prompt in category view mode
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index 64fac6135..08dcfc66b 100644
--- a/functions.js
+++ b/functions.js
@@ -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 {