summaryrefslogtreecommitdiff
path: root/plugins/note
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/note
parentdba6dce3b332f1c7cfb60e3411c6b85c01be7471 (diff)
migrate xhrJson invocations to the new helper
Diffstat (limited to 'plugins/note')
-rw-r--r--plugins/note/note.js2
1 files changed, 1 insertions, 1 deletions
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();