Skip to content

Commit 482f0b9

Browse files
committed
Update language tabs to recalc toc heights on change
1 parent 058429a commit 482f0b9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

source/javascripts/app/lang.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ under the License.
3030
}
3131
$(".highlight." + language).parent().show();
3232

33+
global.toc.calculateHeights();
34+
3335
// scroll to the new location of the position
3436
$(window.location.hash).get(0).scrollIntoView(true);
3537
}

0 commit comments

Comments
 (0)