Docs: update stickyHeaders after menu close

This commit is contained in:
Rob Garrison 2015-10-20 21:31:17 -05:00
parent 48e1659b73
commit 25ba9f3860

View File

@ -225,6 +225,13 @@
}
}
// update stickyHeader when menu closes
$('#main-nav-check').on('change', function(){
setTimeout(function(){
$(window).scroll();
}, 350); // transition animation 300ms
});
$(window).bind('load', function(){
if ($('#root').length) {
$(window).bind('hashchange', function(){