diff --git a/source/javascripts/app/lang.js b/source/javascripts/app/lang.js index 3f5e438..835279e 100644 --- a/source/javascripts/app/lang.js +++ b/source/javascripts/app/lang.js @@ -30,6 +30,8 @@ under the License. } $(".highlight." + language).parent().show(); + global.toc.calculateHeights(); + // scroll to the new location of the position $(window.location.hash).get(0).scrollIntoView(true); }