summaryrefslogtreecommitdiff
path: root/plugins/af_readability
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 10:22:00 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 10:22:00 +0300
commit6b43b788d909ce20f07f29f9f3ccd2f6a8715616 (patch)
tree1a2f08c9cb565f3d9eb95b884f3c3891685d04bd /plugins/af_readability
parentdba6dce3b332f1c7cfb60e3411c6b85c01be7471 (diff)
migrate xhrJson invocations to the new helper
Diffstat (limited to 'plugins/af_readability')
-rw-r--r--plugins/af_readability/init.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_readability/init.js b/plugins/af_readability/init.js
index 6dec82f45..5297416b3 100644
--- a/plugins/af_readability/init.js
+++ b/plugins/af_readability/init.js
@@ -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);