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/note/note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/note/note.js') diff --git a/plugins/note/note.js b/plugins/note/note.js index d2d9c2b01..36bc426cd 100644 --- a/plugins/note/note.js +++ b/plugins/note/note.js @@ -8,7 +8,7 @@ Plugins.Note = { if (this.validate()) { Notify.progress("Saving article note...", true); - xhrJson("backend.php", this.attr('value'), (reply) => { + xhr.json("backend.php", this.attr('value'), (reply) => { Notify.close(); dialog.hide(); -- cgit v1.2.3-54-g00ecf