diff --git a/web/src/settings.html b/web/src/settings.html index 74f4521..08b243c 100644 --- a/web/src/settings.html +++ b/web/src/settings.html @@ -87,5 +87,6 @@ + \ No newline at end of file diff --git a/web/static/scripts/switch.js b/web/static/scripts/switch.js index b28277f..bb39e71 100644 --- a/web/static/scripts/switch.js +++ b/web/static/scripts/switch.js @@ -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.");