forked from rDrama/rDrama
1
0
Fork 0

syntax consistency

master
Aevann 2023-08-23 03:31:20 +03:00
parent 18ef2cc0bc
commit 2d0b5a2867
1 changed files with 1 additions and 1 deletions

View File

@ -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 {