Fixing conflict merge.

This commit is contained in:
Blaž Kristan 2021-09-22 07:09:01 +02:00
parent 22be8e2e9d
commit 1101299168
2 changed files with 2 additions and 2 deletions

View File

@ -369,7 +369,7 @@ ${i+1}:
}
function uploadFile(name) {
var req = new XMLHttpRequest();
req.addEventListener('load', function(){showToast(this.responseText)});
req.addEventListener('load', function(){showToast(this.responseText,this.status >= 400)});
req.addEventListener('error', function(e){showToast(e.stack,true);});
req.open("POST", "/upload");
var formData = new FormData();

File diff suppressed because one or more lines are too long