forked from rDrama/rDrama
no need for timer
parent
8d4f5b12fa
commit
9452967fc0
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue