delete localstorage after deleting file for uploader
This commit is contained in:
parent
895c4d364f
commit
4968e501e1
@ -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 New Issue
Block a user