From 6b43b788d909ce20f07f29f9f3ccd2f6a8715616 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2021 10:22:00 +0300 Subject: migrate xhrJson invocations to the new helper --- plugins/share/share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/share') diff --git a/plugins/share/share.js b/plugins/share/share.js index a5f60d267..d7b8cd1f9 100644 --- a/plugins/share/share.js +++ b/plugins/share/share.js @@ -10,7 +10,7 @@ Plugins.Share = { Notify.progress("Trying to change URL...", true); - xhrJson("backend.php", App.getPhArgs("share", "newkey", {id: id}), (reply) => { + xhr.json("backend.php", App.getPhArgs("share", "newkey", {id: id}), (reply) => { if (reply) { const new_link = reply.link; const target = dialog.domNode.querySelector(".target-url"); -- cgit v1.2.3