diff --git a/files/assets/js/bottom.js b/files/assets/js/bottom.js index fe9de9219..a09c91bf9 100644 --- a/files/assets/js/bottom.js +++ b/files/assets/js/bottom.js @@ -93,7 +93,7 @@ const setting_switchs = document.getElementsByClassName('setting_switch'); for (const element of setting_switchs) { if (element.dataset.nonce != nonce) continue element.onchange = () => { - postToastSwitch(this,`/settings/${element.name}?poor=${element.checked}`); + postToastSwitch(element,`/settings/personal?${element.name}=${element.checked}`); }; } @@ -101,7 +101,7 @@ const setting_reloads = document.getElementsByClassName('setting_reload'); for (const element of setting_reloads) { if (element.dataset.nonce != nonce) continue element.onchange = () => { - postToastReload(this,`/settings/${element.name}?poor=${element.checked}`); + postToastReload(element,`/settings/personal?${element.name}=${element.value}`); }; } diff --git a/files/templates/settings/advanced.html b/files/templates/settings/advanced.html index fdd9a7752..8666ee137 100644 --- a/files/templates/settings/advanced.html +++ b/files/templates/settings/advanced.html @@ -14,7 +14,7 @@
Change how many posts appear on every page.