summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-24 04:15:04 +0100
committerAndrew Dolgov <[email protected]>2006-05-24 04:15:04 +0100
commit64a2875dcc6cb847ffdd43196bf27b5019e12419 (patch)
treef7e2e0d732b577befad9b4e0a997737682555ef3 /functions.js
parent39541e74b2a7979eabe0ca3ddd28cf1022286535 (diff)
quick unsubscribe prompt shows feed name
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index e58a97036..f7e298888 100644
--- a/functions.js
+++ b/functions.js
@@ -1181,4 +1181,12 @@ function fatalError(code, message) {
}
}
-
+function getFeedName(id) {
+ var d = getFeedsContext().document;
+ var e = d.getElementById("FEEDN-" + id);
+ if (e) {
+ return e.innerHTML.stripTags();
+ } else {
+ return null;
+ }
+}