mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-03 07:01:35 -06:00
fix sweetalert2.
This commit is contained in:
@@ -31,9 +31,9 @@ func roomWait(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
// wait for 10 sec
|
||||
await new Promise(res => setTimeout(res, 2500))
|
||||
await new Promise(res => window.setTimeout(res, 2500))
|
||||
document.querySelector(".swal2-loader").style.visibility = 'hidden'
|
||||
await new Promise(res => setTimeout(res, 7500))
|
||||
await new Promise(res => window.setTimeout(res, 7500))
|
||||
}
|
||||
}
|
||||
}())
|
||||
|
||||
Reference in New Issue
Block a user