From 3cb569768077df5de240ca85b8c596be54c0d601 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sun, 24 Sep 2017 04:19:24 +0000 Subject: [PATCH] Fix admin cosmetics guest icon text typo --- webapp/titanembeds/static/js/admin_cosmetics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/titanembeds/static/js/admin_cosmetics.js b/webapp/titanembeds/static/js/admin_cosmetics.js index 33837b7..52a9ec2 100644 --- a/webapp/titanembeds/static/js/admin_cosmetics.js +++ b/webapp/titanembeds/static/js/admin_cosmetics.js @@ -105,13 +105,13 @@ function update_guest_icon_switch(user_id, element) { var webhook_checked = $(element).is(':checked'); var formPatch = patchForm(user_id, {"guest_icon": webhook_checked}); formPatch.done(function (data) { - Materialize.toast('Webhook Icon updated!', 10000); + Materialize.toast('Guest Icon updated!', 10000); }); formPatch.fail(function (data) { if (data.status == 409) { Materialize.toast('This user id does not exists!', 10000); } else { - Materialize.toast('Oh no! Something has failed changing the webhook icon toggle!', 10000); + Materialize.toast('Oh no! Something has failed changing the guest icon toggle!', 10000); } }); } \ No newline at end of file