aboutsummaryrefslogtreecommitdiff
path: root/js/scrollspy.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
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-03-16v3.3.2 => v3.3.4Chris Rebert1-2/+2
2015-03-10Fixed proper navigation element selection on backward scrolling (from the ↵Maxim Andrukhovych1-1/+1
bottom to the top)
2015-03-01Handle multiple zero-offset Scrollspy elements.Caden Lovelace1-1/+1
When the first two elements in a scrollspy content block have a document offset of zero (i.e. they're hard against the top of the page), Scrollspy would switch between them on every scroll event. This could happen, for example, in a system of nested sections: ``` <section id="animals"> <section id="dogs"> Content </section> </section> ``` This ocurred because Scrollspy's check to see if it's at the end of the array of sections uses `!arr[index]`. This misses the case where `arr[index]` does exist and is zero. This commit explicitly checks the array bounds.
2015-02-25ScrollSpy: Small style consistency adjustmentsHeinrich Fenkart1-17/+14
2015-01-19bump versionsMark Otto1-2/+2
2015-01-01Happy New Year :santa:Zlatan Vasović1-1/+1
2014-11-12bump version to v3.3.1v3.3.1Mark Otto1-2/+2
2014-10-29version bumpMark Otto1-2/+2
2014-10-26Clear scrollspy selection above first sectionTadeu Zagallo1-5/+10
Closes #13563 by merging it.
2014-10-26Revert "Scrollspy: ignore invisible list items"Heinrich Fenkart1-1/+0
2014-09-09Scrollspy: ignore invisible list itemsHeinrich Fenkart1-0/+1
Fixes #13071
2014-06-26bump to v3.2.0Mark Otto1-2/+2
2014-06-23Revert UMD (#13772 & friends) for now, due to #13812.Chris Rebert1-133/+127
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-131/+133
2014-06-12Fix regression of #10038 introduced by #13772Heinrich Fenkart1-1/+1
2014-06-10fix #13220 Scrollspy generates wrong offsets for a page-- recalculate ↵fat1-1/+11
offsets if `scrollheight` changes
2014-06-10MD/CommonJS/Globals #12909Katie Zhu1-2/+6
2014-06-08Merge pull request #13755 from twbs/fat-visual-testJacob1-1/+0
Adds isolated visual tests for javascript plugins (decoupled from docs)....
2014-06-07Adds isolated visual tests for javascript plugins (decoupled from docs). ↵fat1-1/+0
This makes it faster and easier to test/develop js functionality not represented in unit tests, and gives us a playground for interactions, etc. It also makes it so developing javascript is now decoupled form jekyll, which should make everything faster and less painful. This commit also reverts my filter commit https://github.com/twbs/bootstrap/commit/9900771aa7f1b3ddcee49aec84082104776ace70 which broke scrollspy for dropdowns.
2014-06-07refactor scrollspy refresh methodMike Greiling1-2/+8
Closes #13702 by merging a rebased version of it.
2014-06-07removing this.$element as it is a superfluous copy of this.$scrollElementMike Greiling1-3/+3
2014-06-07no need to check for href attribute on the scrollable elementMike Greiling1-4/+1
2014-06-07there is no need for this.offsets and this.targets to be jQuery objectsMike Greiling1-5/+6
2014-06-06Comply to the new style.XhmikosR1-3/+2
2014-05-13Adjust for Scrollspy offset when calculating maxScroll.Mike Robinet1-1/+1
2014-05-12versionsfat1-0/+2
2014-05-12fixes #12211: Scrollspy: Navs in different tabs can interfere with each othefat1-0/+1
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-04-09JS: remove unused variables.XhmikosR1-1/+2
2014-03-16correct event naming of `scroll` and `load' eventTobias Lindig1-2/+2
closes #12337
2014-03-13Merge pull request #11937 from IHomer/masterJacob1-1/+1
Fix: IE10 or lower incorrectly determines the scrollheight of the body. ...
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-29Merge branch 'scrollspy-speedy-scroll-top' of ↵fat1-0/+4
git://github.com/ziogaschr/bootstrap into ziogaschr-scrollspy-speedy-scroll-top Conflicts: dist/js/bootstrap.min.js
2013-12-28Merge pull request #11203 from jasny/patch-1Jacob1-0/+1
Scrollspy acting up when targets are hidden
2013-12-25fixes #10675fat1-1/+1