forked from rDrama/rDrama
syntax consistency
parent
18ef2cc0bc
commit
2d0b5a2867
|
@ -77,7 +77,7 @@ function postToastSwitch(t, url, button1, button2, cls, extraActionsOnSuccess) {
|
|||
(xhr) => {
|
||||
if (button1)
|
||||
{
|
||||
if (typeof(button1) == 'boolean') {
|
||||
if (typeof button1 == 'boolean') {
|
||||
location.reload()
|
||||
} else {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue