rename classname to className

master
justcool393 2022-10-14 01:20:08 -07:00
parent b06ee9ac9b
commit 3a11cfd603
1 changed files with 2 additions and 2 deletions

View File

@ -38,8 +38,8 @@ function postToastLoad(xhr, className, extraActionsOnSuccess, extraActionsOnErro
if (typeof(button1) == 'boolean')
location.reload()
else {
document.getElementById(button1).classList.toggle(classname);
document.getElementById(button2).classList.toggle(classname);
document.getElementById(button1).classList.toggle(className);
document.getElementById(button2).classList.toggle(className);
}
}
if (extraActionsOnSuccess) extraActionsOnSuccess(xhr);