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

js: add collapsed and expanded hooks

This commit is contained in:
Andrew Dolgov
2013-04-25 10:09:40 +04:00
parent 06a02265c4
commit 2779e22bf5
2 changed files with 6 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ var PluginHost = {
HOOK_ARTICLE_SET_ACTIVE: 3,
HOOK_FEED_SET_ACTIVE: 4,
HOOK_FEED_LOADED: 5,
HOOK_ARTICLE_EXPANDED: 6,
HOOK_ARTICLE_COLLAPSED: 7,
hooks: [],
register: function (name, callback) {
if (typeof(this.hooks[name]) == 'undefined')