From 6372d5a14c9245615e5a4e5ec818fba832b5cd14 Mon Sep 17 00:00:00 2001 From: ruanyf Date: Tue, 29 Apr 2014 10:47:04 +0800 Subject: [PATCH] edit ditto.js --- js/ditto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ditto.js b/js/ditto.js index 61f8fd2..4f190c1 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -218,11 +218,11 @@ function router() { })(); })(); - // if(path.indexOf('README') === -1){ + if(location.hash === ''){ $('html, body').animate({ scrollTop: $('#content').offset().top }, 200); - // } + } }).fail(function() { show_error();