mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
edit ditto.js
This commit is contained in:
parent
8db8061b37
commit
6372d5a14c
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user