mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
getSelectedArticleIds2: return unique ids
setActiveArticleId: update selected prompt
This commit is contained in:
@@ -793,7 +793,7 @@ function getSelectedArticleIds2() {
|
||||
if (getActiveArticleId())
|
||||
rv.push(getActiveArticleId());
|
||||
|
||||
return rv;
|
||||
return rv.uniq();
|
||||
}
|
||||
|
||||
function getLoadedArticleIds() {
|
||||
@@ -1130,6 +1130,8 @@ function setActiveArticleId(id) {
|
||||
|
||||
PluginHost.run(PluginHost.HOOK_ARTICLE_SET_ACTIVE, _active_article_id);
|
||||
}
|
||||
|
||||
updateSelectedPrompt();
|
||||
}
|
||||
|
||||
function getActiveArticleId() {
|
||||
|
||||
Reference in New Issue
Block a user