1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 10:22:23 +00:00

edit js/ditto

This commit is contained in:
ruanyf 2014-05-07 23:29:37 +08:00
parent bba6860a08
commit b96360ec89

View File

@ -251,7 +251,7 @@ function router() {
var perc = ditto.save_progress ? store.get('page-progress') || 0 : 0;
if(location.hash !== '' || Boolean(perc)){
if (!Boolean(perc){
if (!Boolean(perc)){
$('html, body').animate({
scrollTop: $('#content').offset().top
}, 200);