diff options
author | Andrew Dolgov <[email protected]> | 2013-04-24 19:49:37 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-24 19:49:37 +0400 |
commit | 8d388f321b22691246393e3f812d42ab388c8c42 (patch) | |
tree | 505e3e5a6e6cac945bf1f164b7584ca65e5dd6dd /js/tt-rss.js | |
parent | a62337b35dc5e1fe97f60346f632cb403a3677ab (diff) |
add a simple JS-based hook host
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index 9e4cb63ce..3f8545149 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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); } |