1
0
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:
ruanyf 2014-04-29 10:51:47 +08:00
parent cebaf81bcf
commit 4c95d33ba2

View File

@ -218,7 +218,7 @@ function router() {
})();
})();
if(location.hash === ''){
if(location.hash !== ''){
$('html, body').animate({
scrollTop: $('#content').offset().top
}, 200);