[fix] tweaks

This commit is contained in:
alban 2020-11-01 23:28:34 +01:00
parent c1b9f42c4a
commit 42ccba832e
3 changed files with 10 additions and 2 deletions

View file

@ -255,6 +255,13 @@ $(document).ready(function(){
}
function refreshImageList(){
var imageList = localStorage.getItem("imageList") ? JSON.parse(localStorage.getItem("imageList")) : []
if( 0 == imageList.length){
$("#preview").hide()
return
}
$("#preview").show()
html = ''
for( id in imageList){
hash_name = imageList[id]