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();