forked from rDrama/rDrama
1
0
Fork 0

no need for timer

master
Aevann1 2022-12-19 04:27:53 +02:00
parent 8d4f5b12fa
commit 9452967fc0
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}