diff --git a/public/self/dataset_preview.js b/public/self/dataset_preview.js index 648834d83..acda325c8 100644 --- a/public/self/dataset_preview.js +++ b/public/self/dataset_preview.js @@ -573,7 +573,10 @@ function next(){ function clickLast(){ if(fileindex == 0){ + lastindex=true; prePage(); + lastindex=false; + }else{ last(); }