diff --git a/js/ditto.js b/js/ditto.js index 97a5cc2..b81f53b 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -197,7 +197,7 @@ function router() { Prism.highlightElement(this); }); - if(path.indexOf('README') !== -1){ + if(path.indexOf('README') === -1){ $('html, body').animate({ scrollTop: $('#content').offset().top }, 200);