mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
edit ditto.js
This commit is contained in:
+2
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user