diff options
Diffstat (limited to 'plugins/share')
-rw-r--r-- | plugins/share/share.js | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |