diff options
author | Andrew Dolgov <[email protected]> | 2015-08-03 19:21:12 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-08-03 19:21:12 +0300 |
commit | 978eb545821d8f700e1f62b7da6a4ca0fc38adb8 (patch) | |
tree | 795b0f0ee1c73ddd94ff92bc8e3452fd41533c57 /js | |
parent | 3ceb893f66920383b0f79faf1fc896469ee3d2a4 (diff) | |
parent | ee15687a9330e6135185b163f6e66f26205b762b (diff) |
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'js')
-rw-r--r-- | js/viewfeed.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index d39416632..b5484b83a 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -236,9 +236,8 @@ function render_article(article) { c.domNode.scrollTop = 0; } catch (e) { }; - PluginHost.run(PluginHost.HOOK_ARTICLE_RENDERED, article); - c.attr('content', article); + PluginHost.run(PluginHost.HOOK_ARTICLE_RENDERED, c.domNode); correctHeadlinesOffset(getActiveArticleId()); @@ -1231,10 +1230,11 @@ function unpackVisibleHeadlines() { var cencw = $("CENCW-" + child.id.replace("RROW-", "")); if (cencw) { - PluginHost.run(PluginHost.HOOK_ARTICLE_RENDERED_CDM, child); - cencw.innerHTML = htmlspecialchars_decode(cencw.innerHTML); cencw.setAttribute('id', ''); + + PluginHost.run(PluginHost.HOOK_ARTICLE_RENDERED_CDM, child); + Element.show(cencw); } } |