mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 20:28:52 +00:00
Add lang-specific class
This commit is contained in:
parent
884cda666a
commit
8cba352315
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue