diff --git a/js/ditto.js b/js/ditto.js index 8ff1dd5..1841abe 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -329,7 +329,7 @@ function router() { if (sectionId) { $('html, body').animate({ - scrollTop: ($('#' + sectionId).offset().top) + scrollTop: ($('#' + decodeURI(sectionId)).offset().top) }, 300); } else { if (location.hash !== '' || Boolean(perc)) {