mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-18 13:30:23 +00:00
hack for subnav
This commit is contained in:
parent
81a296d06a
commit
3408064d00
1 changed files with 5 additions and 0 deletions
|
|
@ -51,6 +51,11 @@
|
|||
|
||||
processScroll()
|
||||
|
||||
// hack sad times - holdover until rewrite for 2.1
|
||||
$nav.on('click', function () {
|
||||
if (!isFixed) setTimeout(function () { $win.scrollTop($win.scrollTop() - 47) }, 10)
|
||||
})
|
||||
|
||||
$win.on('scroll', processScroll)
|
||||
|
||||
function processScroll() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue