forked from rDrama/rDrama
1
0
Fork 0
master
justcool393 2022-10-14 02:49:58 -07:00
parent 29af9dbbf4
commit e4cbe4178a
1 changed files with 37 additions and 37 deletions

View File

@ -35,9 +35,9 @@ function postToastLoad(xhr, className, extraActionsOnSuccess, extraActionsOnErro
showToast(true, data && data["message"] ? data["message"] : "Success!");
if (button1)
{
if (typeof(button1) == 'boolean')
if (typeof(button1) == 'boolean') {
location.reload()
else {
} else {
document.getElementById(button1).classList.toggle(className);
document.getElementById(button2).classList.toggle(className);
}