forked from MarseyWorld/MarseyWorld
tabify
parent
29af9dbbf4
commit
e4cbe4178a
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue