From 56043c11e00311af92cc0a53c2ee4c12175b4849 Mon Sep 17 00:00:00 2001 From: Benjamin Diolez Date: Thu, 30 Aug 2018 16:39:05 +0200 Subject: [PATCH] Add language specific parts in content Just use All content here will be displayed only for shell python to display text only for a specific content --- themes/whiteboard/source/js/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/whiteboard/source/js/script.js b/themes/whiteboard/source/js/script.js index 21a5a12..2abb674 100644 --- a/themes/whiteboard/source/js/script.js +++ b/themes/whiteboard/source/js/script.js @@ -30,8 +30,10 @@ under the License. $(".lang-selector a[data-language-name='" + language + "']").addClass('active'); for (var i=0; i < languages.length; i++) { $(".highlight." + languages[i]).parent().hide(); + $(".lang-specific." + languages[i]).hide(); } $(".highlight." + language).parent().show(); + $(".lang-specific." + language).show(); global.toc.calculateHeights();