delete localstorage after deleting file for uploader
This commit is contained in:
parent
895c4d364f
commit
4968e501e1
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ function returnBindedLI(a_element, name, link, li) {
|
|||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === XMLHttpRequest.DONE) {
|
||||
document.getElementById("uploaded_files").removeChild(li);
|
||||
localStorage.removeItem(key);
|
||||
}
|
||||
|
||||
if (xhr.status === 200) {
|
||||
|
|
Loading…
Reference in a new issue