diff options
| author | Mark Otto <[email protected]> | 2014-07-08 00:10:31 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-08 00:10:31 -0700 |
| commit | 97008c381ac586640f5ff78b72d5fcf84606e6d0 (patch) | |
| tree | 0ea5c2cd15fd87b9ed44b75f515a9e2ecf0d7ea8 /docs/assets/js/src/application.js | |
| parent | d85895fda8cb0837e8bd10d8618e68ebdfca40ad (diff) | |
| download | bootstrap-97008c381ac586640f5ff78b72d5fcf84606e6d0.tar.xz bootstrap-97008c381ac586640f5ff78b72d5fcf84606e6d0.zip | |
restore font-weight and knock down font-size for .lead
Diffstat (limited to 'docs/assets/js/src/application.js')
| -rw-r--r-- | docs/assets/js/src/application.js | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 792fc9779..69a19707c 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -21,7 +21,7 @@ var $body = $(document.body) $body.scrollspy({ - target: '.bs-docs-sidebar' + target: '.active .bs-docs-sidenav' }) $window.on('load', function () { $body.scrollspy('refresh') @@ -33,28 +33,28 @@ }) // Sidenav affixing - setTimeout(function () { - var $sideBar = $('.bs-docs-sidebar') - - $sideBar.affix({ - offset: { - top: function () { - var offsetTop = $sideBar.offset().top - var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10) - var navOuterHeight = $('.bs-docs-nav').height() - - return (this.top = offsetTop - navOuterHeight - sideBarMargin) - }, - bottom: function () { - return (this.bottom = $('.bs-docs-footer').outerHeight(true)) - } - } - }) - }, 100) - - setTimeout(function () { - $('.bs-top').affix() - }, 100) + // setTimeout(function () { + // var $sideBar = $('.bs-docs-sidebar') + + // $sideBar.affix({ + // offset: { + // top: function () { + // var offsetTop = $sideBar.offset().top + // var sideBarMargin = parseInt($sideBar.children(0).css('margin-top'), 10) + // var navOuterHeight = $('.bs-docs-nav').height() + + // return (this.top = offsetTop - navOuterHeight - sideBarMargin) + // }, + // bottom: function () { + // return (this.bottom = $('.bs-docs-footer').outerHeight(true)) + // } + // } + // }) + // }, 100) + + // setTimeout(function () { + // $('.bs-top').affix() + // }, 100) // theme toggler ;(function () { |
