mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +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({
|
$('html, body').animate({
|
||||||
scrollTop: $('#content').offset().top
|
scrollTop: $('#content').offset().top
|
||||||
}, 200);
|
}, 200);
|
||||||
// }
|
}
|
||||||
|
|
||||||
}).fail(function() {
|
}).fail(function() {
|
||||||
show_error();
|
show_error();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user