1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:15:56 +00:00

add a simple JS-based hook host

This commit is contained in:
Andrew Dolgov
2013-04-24 19:49:37 +04:00
parent a62337b35d
commit 8d388f321b
4 changed files with 9 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ function setActiveFeedId(id, is_cat) {
$("headlines-frame").setAttribute("is-cat", is_cat ? 1 : 0);
selectFeed(id, is_cat);
PluginHost.run(PluginHost.HOOK_FEED_SET_ACTIVE, _active_article_id);
} catch (e) {
exception_error("setActiveFeedId", e);
}