Skip to content

Commit

Permalink
[search] parse int wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Feb 27, 2012
1 parent 8ba688d commit c170d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/modules/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ var Search = (function(){
parentNode.replaceChild(textNode, nodes[i]);
}
}
return Number(total_length / 100) * 25 + 5;
return parseInt(total_length / 100) * 25 + 5;
}

function next(step, totally_steps) {
Expand Down

0 comments on commit c170d67

Please sign in to comment.