Add lang-specific class

This commit is contained in:
Robert Lord
2016-01-26 15:39:37 -06:00
parent 884cda666a
commit 8cba352315

View File

@@ -29,8 +29,10 @@ under the License.
$(".lang-selector a[data-language-name='" + language + "']").addClass('active');
for (var i=0; i < languages.length; i++) {
$(".highlight." + languages[i]).hide();
$(".lang-specific." + languages[i]).hide();
}
$(".highlight." + language).show();
$(".lang-specific." + language).show();
global.toc.calculateHeights();