diff --git a/files/events/assets/js/darkmode.js b/files/events/assets/js/darkmode.js index c34e7126fe..ea00206dfc 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(()=>{location.reload();}, 500); + location.reload(); }