Analytics has been done, it is possible to turn it off

This commit is contained in:
Данил 2022-11-22 21:38:57 +03:00
parent d8bc09074c
commit 3b23eedc21
2 changed files with 3 additions and 0 deletions

View file

@ -188,6 +188,8 @@ $(document).ready(async function() {
$analyticsSwitchTogglerName.text("Off");
$analyticsSwitch.removeAttr("checked");
$("#analytics").remove();
toast(data.message);
} else {
toast("Failed to apply settings.");