mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 04:35:56 +00:00
initial for RIP prototype/scriptaculous
This commit is contained in:
@@ -2,8 +2,8 @@ Plugins.Af_Readability = {
|
||||
orig_attr_name: 'data-readability-orig-content',
|
||||
self: this,
|
||||
embed: function(id) {
|
||||
const content = $$(App.isCombinedMode() ? ".cdm[data-article-id=" + id + "] .content-inner" :
|
||||
".post[data-article-id=" + id + "] .content")[0];
|
||||
const content = App.find(App.isCombinedMode() ? ".cdm[data-article-id=" + id + "] .content-inner" :
|
||||
".post[data-article-id=" + id + "] .content");
|
||||
|
||||
if (content.hasAttribute(self.orig_attr_name)) {
|
||||
content.innerHTML = content.getAttribute(self.orig_attr_name);
|
||||
|
||||
Reference in New Issue
Block a user