aboutsummaryrefslogtreecommitdiff
path: root/js/affix.js
AgeCommit message (Collapse)AuthorFilesLines
2019-02-15Replace `master` with `v3-dev` after the branch switch. (#28287)XhmikosR1-1/+1
2019-02-13Bump version to 3.4.1.XhmikosR1-2/+2
2019-02-13Bump year.XhmikosR1-1/+1
2018-10-18Use https, fix broken links and unneeded redirects.XhmikosR1-1/+1
2018-10-08Bump year to 2018.XhmikosR1-1/+1
2018-08-13Fix/xss issues on data attributes (#27047)don-spyker1-1/+3
* fix(collapse): xss CVE-2018-14040 Fixes #26625 * fix(tooltip): xss CVE-2018-14042 Fixes #26628 * fix(tooltip): XSS on data-viewport attribute Fixes #27044 * fix(affix): XSS on target config Fixes #27045
2017-07-04bump versionMark Otto1-2/+2
2016-07-25Update version numbers in preparation for v3.3.7 release (#20357)Chris Rebert1-2/+2
[skip sauce]
2016-01-01Update copyright years to 2016Chris Rebert1-1/+1
[ci skip]
2015-11-24bump versionMark Otto1-2/+2
2015-06-16bump versionMark Otto1-2/+2
2015-05-02Fix issue where affixed element has incorrect positioningCarlo Stearns1-1/+1
when used with a sticky footer layout. Adds visual test for affix with sticky footer. Closes #15694. Refs #15032.
2015-03-16v3.3.2 => v3.3.4Chris Rebert1-2/+2
2015-03-09Affix: $('body') => $(document.body)Chris Rebert1-1/+1
2015-02-25[Ref #15881] Use Explicit Values rather than ChainKevin Kirsche1-2/+2
[Ref #15881] Use Explicit Values for javascript variables rather than chained ones. From https://github.com/twbs/bootstrap/pull/15881#discussion_r25330647
2015-01-19bump versionsMark Otto1-2/+2
2015-01-01Happy New Year :santa:Zlatan Vasović1-1/+1
2014-11-17Fixes affix-top class not applyingNick O'Donoghue1-1/+1
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-12bump version to v3.3.1v3.3.1Mark Otto1-2/+2
2014-10-29version bumpMark Otto1-2/+2
2014-09-09Make affix accept `0` as offsetTop or offsetBottomsamme1-2/+2
Fixes #12815. Closes #14363.
2014-07-21cleanup stylefat1-24/+17
2014-07-18Fix issue where bottom affixed element floats over the footer when theCharles B Johnson1-1/+1
document height is smaller than the viewport height.
2014-07-18Refactor determining affix state into a separate expanded methodCharles B Johnson1-18/+45
in order to handle multiple edge cases, specifically when the document height is dynamic. Always reposition an affix that is affixed to the bottom.
2014-07-03no need to create $.EventWing1-1/+1
`trigger()` can handle string argument
2014-07-03trigger 'affixed.bs.affix' instead of 'affixed'Wing1-1/+1
Original is triggering `affixed` not `affixed.bs.affix`, only `.on('affixed.bs.affix', ...)` also catch `affixed` event. Closes #13998.
2014-06-26bump to v3.2.0Mark Otto1-2/+2
2014-06-23Revert UMD (#13772 & friends) for now, due to #13812.Chris Rebert1-99/+93
Will hopefully revert this reversion and land a fully-working version of UMD in v3.3.0. Revert "some changes from #13801 - add strict mode back and ==" This reverts commit 2b302f69eea416bc85e7827b7d7a74d49f879662. Revert "Fix regression of #10038 introduced by #13772" This reverts commit e9d6756a1ac76a9db31a41e8e03f663bedc41b70. Revert "MD/CommonJS/Globals #12909" This reverts commit 1c6fa9010daf0d0c21de9e20fe6ac4dba1788d90. Revert "address #13811" This reverts commit f347d7d955bbb17234b8e12c68efae7d516ce62c. Conflicts: js/carousel.js js/collapse.js js/dropdown.js js/modal.js js/tab.js js/tooltip.js
2014-06-12some changes from #13801 - add strict mode back and ==fat1-96/+98
2014-06-12Fix regression of #10038 introduced by #13772Heinrich Fenkart1-1/+1
2014-06-10MD/CommonJS/Globals #12909Katie Zhu1-2/+6
2014-06-06Minor style tweaks.XhmikosR1-1/+3
2014-05-16add `target` option to Affix pluginAttila Dobi1-4/+6
2014-05-12versionsfat1-1/+3
2014-05-09Fixed affix-bottom positioningGregory Pakosz1-1/+1
Set top position to (scrollHeight - this.$element.height() - offsetBottom).
2014-04-21#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal ↵Collin Donahue-Oponski1-4/+5
reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-03-16Merge pull request #12862 from sultano/patch-1Jacob1-3/+1
Fixed flickering and simplified calculations
2014-03-08fix #9342fat1-1/+1
2014-02-27Fixed flickering and simplified calculationsSuleman Chikhalia1-3/+1
- Removed offending line causing a flicker to the default top state - Simplified calculation of the top offset when in the bottom state
2014-02-13v3.1.1 bumpMark Otto1-1/+1
2014-01-30Bump versions, run gruntv3.1.0Mark Otto1-1/+1
2014-01-07Merge pull request #12057 from ZDroid/nlChris Rebert1-1/+2
'use strict' on new line
2014-01-07Update copyright notices in all placesJulian Thilo1-1/+1
- Implements new format "Copyright 2011-xxxx Twitter, Inc.", which resonates well with our History page and more accurately reflects the copyright status of the repo - grunt dist to update all the files
2014-01-01'use strict' on new lineZlatan Vasović1-1/+2
2014-01-01New YearZlatan Vasović1-1/+1
2013-12-24Merge pull request #11722 from DocX/patch-1Jacob1-1/+1
Use document scroll height instead of offset height
2013-12-24fixes #11720 - Add events trigger to affixfat1-1/+11
2013-12-24Merge pull request #10359 from ixti/patch-1Jacob1-2/+2
Pass $element to offset top/bottom calc funcs
2013-12-24Merge branch 'master' of github.com:twbs/bootstrapfat1-1/+1
Conflicts: dist/js/bootstrap.min.js docs-assets/js/raw-files.js
2013-12-24fixes #10236fat1-4/+15
if affixed top add scrollTop to it position.top calculate and cache pinnedoffset independent of scrolling for initial load