Skip to content

Commit

Permalink
Update language tabs to recalc toc heights on change
Browse files Browse the repository at this point in the history
  • Loading branch information
lord committed Nov 6, 2014
1 parent 058429a commit 482f0b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/javascripts/app/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 482f0b9

Please sign in to comment.