Update language tabs to recalc toc heights on change

This commit is contained in:
Robert Lord
2014-11-05 20:56:19 -06:00
parent 058429a9fd
commit 482f0b9979

View File

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