mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 04:08:40 +00:00
Update language tabs to recalc toc heights on change
This commit is contained in:
parent
058429a9fd
commit
482f0b9979
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue