summaryrefslogtreecommitdiff
path: root/js/PrefUsers.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/PrefUsers.js')
-rw-r--r--js/PrefUsers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/PrefUsers.js b/js/PrefUsers.js
index 64466ef18..5b490a2a5 100644
--- a/js/PrefUsers.js
+++ b/js/PrefUsers.js
@@ -27,7 +27,7 @@ const Users = {
}
},
edit: function(id) {
- xhrJson('backend.php', {op: 'pref-users', method: 'edit', id: id}, (reply) => {
+ xhr.json('backend.php', {op: 'pref-users', method: 'edit', id: id}, (reply) => {
const user = reply.user;
const admin_disabled = (user.id == 1);