mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:55:56 +00:00
quick unsubscribe prompt shows feed name
This commit is contained in:
10
functions.js
10
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user