0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00
Bootstrap/js
Nick O'Donoghue 36b4f90f25 Fixes affix-top class not applying
Use scrollTop instead of colliderTop which uses the elements
offset().top, as the offset top does not account for padding.

This issue can be replicated by using a navbar-fixed-top and applying
relevant padding to the body. (A navbar-static-top with no padding on
the body does not encounter this issue)

Fixes #15078
Closes #15154 by merging it
2014-11-17 18:17:42 -08:00
..
tests add unit test for affix-top for padding issue 2014-11-17 18:17:40 -08:00
.jscsrc re-alphabetize .jscsrc 2014-07-25 11:02:30 -07:00
.jshintrc Revert UMD (#13772 & friends) for now, due to #13812. 2014-06-23 11:11:59 -07:00
affix.js Fixes affix-top class not applying 2014-11-17 18:17:42 -08:00
alert.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00
button.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00
carousel.js honor wrap option in Carousel.getItemForDirection; fixes #15144 2014-11-15 22:43:20 -08:00
collapse.js Collapse: Use $.fn.children instead of > in selector 2014-11-14 15:18:34 +01:00
dropdown.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00
modal.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00
popover.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00
scrollspy.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00
tab.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00
tooltip.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00
transition.js bump version to v3.3.1 2014-11-12 09:03:16 -08:00