[fix] tweaks
This commit is contained in:
parent
c1b9f42c4a
commit
42ccba832e
3 changed files with 10 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue