aboutsummaryrefslogtreecommitdiff
path: root/js/src/scrollspy.js
AgeCommit message (Collapse)AuthorFilesLines
2019-02-11Release v4.3.0 (#28228)v4.3.0Mark Otto1-2/+2
* Prep for v4.3.0 * More updates for v4.3.0. * rerun to build docs source map
2018-12-21Bump to v4.2.1 (#27892)v4.2.1Mark Otto1-2/+2
2018-12-21Prep for v4.2.0 releaseMark Otto1-2/+2
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-11-14some cleaning and changes for readabilityJohann-S1-12/+10
2018-09-26remove useless iifeJohann-S1-265/+261
2018-08-12Use ES6 arrow function.XhmikosR1-1/+1
2018-07-24Ship v4.1.3v4.1.3Mark Otto1-2/+2
2018-07-12Ship v4.1.2Mark Otto1-2/+2
2018-06-03refactor(plugins): query elements without jqueryJohann-S1-4/+5
2018-06-01refactor(plugins): improve how we query elementsJohann-S1-3/+5
2018-06-01fix(scrollspy): xss in target optionJohann-S1-1/+1
2018-04-30Bump version to v4.1.1v4.1.1Mark Otto1-2/+2
2018-04-13fix issue related to Object.keys and Dropdown issueJohann-S1-1/+1
2018-04-09Ship v4.1.0 (#26218)v4.1.0Mark Otto1-2/+2
* update docs path from docs/4.0/ to docs/4.1/ * bump version to 4.1.0 * Update redirects to work for 4.1 docs move * Update docs version switcher to include latest and link to 4.0 docs * re-run dist * Update package-lock.json * Update docs-navbar.html
2018-01-18Bump version to 4.0.0Mark Otto1-2/+2
2018-01-11Comply to the new rules.XhmikosR1-45/+31
2017-12-28Update version to 4.0.0-beta.3v4.0.0-beta.3Mark Otto1-2/+2
2017-11-13Object spread : less jQuery more ES6 (#24665)Johann-S1-1/+4
2017-10-24Change Rollup config to wrap our dist files with jQuery instead of $Johann-S1-2/+2
2017-10-23Add `Util.jQuery` which will detect jQuery instead of relying on global `$` ↵Johann-S1-1/+1
(#24513)
2017-10-19fix version numberMark Otto1-2/+2
2017-10-19new version numberMark Otto1-2/+2
2017-10-04Use imported jQuery objectJohann-S1-1/+1
2017-09-17fix(scrollspy): Spying on nested navs fails to activate for .nav-link's ↵Troy Morehouse1-0/+3
inside nav-item's (#23967) * fix(scrollspy): Handle nested navs when nav-link inside nav-item * [scrolspy] Find only child .nav-link's inside .nav-item * [scrollspyt] Add tests for nested navs with nav-link inside nav-item * fix troy-o's in test
2017-08-31Create a bundled release of Bootstrap with Popper.js insideJohann-S1-1/+2
2017-08-23Tweak ESLint rules.XhmikosR1-2/+3
2017-08-10bump to betav4.0.0-betaMark Otto1-2/+2
2017-04-02Tabs/Scrollspy/.nav/.list-group/.active independent of markup (<nav>, ↵Pierre Vanduynslager1-8/+8
.nav-item, <li> etc...)
2017-03-18HTMLElement.offset* by getBoundingClientRect() (#21788)Pierre Vanduynslager1-7/+10
* Replace element.offet* by getBoundingClientRect() * Use variable to store BoundingClientRect * Fix cc issue...
2017-01-06version bumpMark Otto1-2/+2
2017-01-04Use pageYOffset instead of scrollYPierre-Denis Vanduynslager1-1/+1
2016-12-22scrollspy: fix wrong activation of all nested links (#20304)mr-july1-1/+1
* fix wrong activation of all nested links; just first level item should be activated * use template instead of string concatenation
2016-11-27Closes #21055: Prevents ScrollSpy from clearing active item when Safari ↵Rob Ruana1-1/+1
rubberbands (#21056) When the rubberband effect causes Safari to scroll past the top of the page, the value of scrollTop becomes negative. If the offset of the first ScrollSpy target is 0 - essentially if the target is at the top of the page - then ScrollSpy should not clear the active item. Conceptually, the first item should remain active when rubberbanding past the top of the page. This commit fixes issue #21055 by verifying the first scrollspy target is not at the top of the page before clearing the active nav-item.
2016-11-25Scrollspy selecting the last element when at the bottom of the page (fixes ↵matus1-1/+7
#17739)
2016-11-24Make JS compliant with the new ESLint rules.Bardi Harborow1-15/+15
2016-10-31Move from $.proxy to es6 arrow functions. (#21049)Bardi Harborow1-1/+1
2016-10-19version bump to alpha 5Mark Otto1-2/+2
2016-09-05versionsMark Otto1-2/+2
2016-07-27bump versionsMark Otto1-2/+2
2016-05-31Comply with consistent-return ESLint ruleChris Rebert1-0/+1
2016-01-26scrollspy.js: Avoid gratuitous non-ASCII for consistency+compatibilityChris Rebert1-1/+1
Fixes #19028 [skip sauce] [skip validator]
2015-12-08Update version numbers using npm scriptChris Rebert1-1/+1
Errata from: * 8ce5da30260c1368ae97838fcf010375071a7243 * 5d3144e8fb5c7202991b7614d77dfc00903fcb2e which missed a few numbers. [skip sauce] [skip validator]
2015-12-08manually bump versions because npm script wasn't working for meMark Otto1-1/+1
2015-12-05Fix version numbers is JS files; fixes #18435Chris Rebert1-2/+2
[skip sauce] [skip validator]
2015-10-02Add throw error for undefined method on pluginsJohann-S1-0/+3
2015-08-18Merge branch 'v4' of github.com:twbs/derpstrap into v4Jacob Thornton1-14/+22
2015-08-18some minor alert shitJacob Thornton1-32/+23
2015-08-18js tests passing + eslintJacob Thornton1-1/+1
2015-05-13add simple type checker implementationfat1-0/+8
2015-05-13fix #15301fat1-4/+21