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
cebaf81bcf
commit
4c95d33ba2
@ -218,7 +218,7 @@ function router() {
|
||||
})();
|
||||
})();
|
||||
|
||||
if(location.hash === ''){
|
||||
if(location.hash !== ''){
|
||||
$('html, body').animate({
|
||||
scrollTop: $('#content').offset().top
|
||||
}, 200);
|
||||
|
Loading…
x
Reference in New Issue
Block a user