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

migrate xhrJson invocations to the new helper

This commit is contained in:
Andrew Dolgov
2021-02-19 10:22:00 +03:00
parent dba6dce3b3
commit 6b43b788d9
15 changed files with 30 additions and 40 deletions

View File

@@ -16,7 +16,7 @@ Plugins.Af_Readability = {
Notify.progress("Loading, please wait...");
xhrJson("backend.php", App.getPhArgs("af_readability", "embed", {id: id}), (reply) => {
xhr.json("backend.php", App.getPhArgs("af_readability", "embed", {id: id}), (reply) => {
if (content && reply.content) {
content.setAttribute(self.orig_attr_name, content.innerHTML);