diff options
author | Devaev Maxim <[email protected]> | 2018-07-21 12:42:56 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-07-21 12:42:56 +0300 |
commit | aa437673dde8230fc537b3a31914e979afdba45f (patch) | |
tree | e568c0cd064f98508bb9969587cdc255716c9e1a /kvmd/web/js/msd.js | |
parent | 3bdcdd580e45d2effe2554cdacd1c354f172e48d (diff) |
minor ui fixes
Diffstat (limited to 'kvmd/web/js/msd.js')
-rw-r--r-- | kvmd/web/js/msd.js | 4 |
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(); } |