minor ui fixes

This commit is contained in:
Devaev Maxim
2018-07-21 12:42:56 +03:00
parent 3bdcdd580e
commit aa437673dd
2 changed files with 2 additions and 4 deletions

View File

@@ -124,10 +124,8 @@ var msd = new function() {
if (__upload_http.readyState === 4) {
if (__upload_http.status !== 200) {
alert("Can't upload image to the Mass Storage Device:", __upload_http.responseText);
} else {
$("msd-progress").setAttribute("data-label", "Done");
$("msd-progress-value").style.width = "100%";
}
el_input.value = "";
__upload_http = null;
__applyState();
}