mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Docs: update stickyHeaders after menu close
This commit is contained in:
parent
48e1659b73
commit
25ba9f3860
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user