ajax timout back to 1 min

master
Anthony Axenov 2022-06-04 14:48:14 +08:00
parent 621f9c7932
commit 60f2834cca
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ if (array_intersect(array_keys($_GET), array_keys($ini))) {
const id = tr.attributes['data-playlist-id'].value
const xhr = new XMLHttpRequest()
xhr.responseType = 'json'
xhr.timeout = 5000 // ms = 5 sec
xhr.timeout = 60000 // ms = 1 min
let st_el = tr.querySelector('span.status')
xhr.onreadystatechange = () => {
if (xhr.readyState === XMLHttpRequest.DONE) {