Skip to content
Snippets Groups Projects
Commit c75d724f authored by Koichi Yasuoka's avatar Koichi Yasuoka
Browse files

bug fix

parent 30bc3146
No related branches found
No related tags found
No related merge requests found
...@@ -64,8 +64,10 @@ Liji.checkview=function(){ ...@@ -64,8 +64,10 @@ Liji.checkview=function(){
} }
Liji.lastTop=Liji.svg[Liji.curr].getBoundingClientRect().top; Liji.lastTop=Liji.svg[Liji.curr].getBoundingClientRect().top;
if(Liji.curr!=x){ if(Liji.curr!=x){
if(Liji.retrytimes>0) if(Liji.retrytimes>0){
Liji.retrytimes--; Liji.retrytimes--;
Liji.curr=parseInt(document.getElementById("count").value,10);
}
else else
document.getElementById("count").value=Liji.curr; document.getElementById("count").value=Liji.curr;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment