summaryrefslogtreecommitdiff
path: root/kvmd/web/js/msd.js
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/web/js/msd.js')
-rw-r--r--kvmd/web/js/msd.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/kvmd/web/js/msd.js b/kvmd/web/js/msd.js
index 61a70789..34ba72f7 100644
--- a/kvmd/web/js/msd.js
+++ b/kvmd/web/js/msd.js
@@ -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();
}