mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 17:32:41 +02:00
hack for subnav
This commit is contained in:
@@ -51,6 +51,11 @@
|
|||||||
|
|
||||||
processScroll()
|
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)
|
$win.on('scroll', processScroll)
|
||||||
|
|
||||||
function processScroll() {
|
function processScroll() {
|
||||||
|
Reference in New Issue
Block a user