diff --git a/files/events/assets/js/darkmode.js b/files/events/assets/js/darkmode.js index 9c8c26fd3..c34e7126f 100644 --- a/files/events/assets/js/darkmode.js +++ b/files/events/assets/js/darkmode.js @@ -16,5 +16,5 @@ function postToastLoadEventDarkmode(xhr) { } success = xhr.status >= 200 && xhr.status < 300; showToast(success, getMessageFromJsonData(success, data)); - setTimeout(()=>{locationn.reload();}, 500); + setTimeout(()=>{location.reload();}, 500); }