From b96360ec89ed9438f865c84ad10bb7fd8a1c5974 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Wed, 7 May 2014 23:29:37 +0800 Subject: [PATCH] edit js/ditto --- js/ditto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ditto.js b/js/ditto.js index 5e2c3cd..031c301 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -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);