1
0
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:
ruanyf 2014-04-29 10:47:04 +08:00
parent 8db8061b37
commit 6372d5a14c

View File

@ -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();