fix text
This commit is contained in:
parent
271acaafe0
commit
8279ec5f88
@ -33,8 +33,9 @@ function showServerError(fname, status, text) {
|
||||
let stagingPath = "";
|
||||
async function setStagingPath() {
|
||||
const response = await fetch("imgsort.php?action=getStagingPath");
|
||||
text = await response.text();
|
||||
if (response.ok) {
|
||||
stagingPath = await response.text();
|
||||
stagingPath = text;
|
||||
}
|
||||
else {
|
||||
showServerError("setStagingPath", response.status, text);
|
||||
|
Loading…
Reference in New Issue
Block a user