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