Commit 5ad52161 authored by Robert Lord's avatar Robert Lord

Readd parent() selection for code samples

parent 73d2997a
......@@ -26,9 +26,9 @@ under the License.
$(".lang-selector a").removeClass('active');
$(".lang-selector a[data-language-name='" + language + "']").addClass('active');
for (var i=0; i < languages.length; i++) {
$(".highlight." + languages[i]).hide();
$(".highlight." + languages[i]).parent().hide();
}
$(".highlight." + language).show();
$(".highlight." + language).parent().show();
global.toc.calculateHeights();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment