aboutsummaryrefslogtreecommitdiff
path: root/js/src
AgeCommit message (Collapse)AuthorFilesLines
2017-01-06version bumpMark Otto11-21/+21
2017-01-05Merge pull request #21093 from Johann-S/fixButtonGrpAriaPatrick H. Lauke1-3/+3
Close #21090 - Fix aria-pressed attribute for buttons in container with data-attribute="buttons"
2017-01-04Use pageYOffset instead of scrollYPierre-Denis Vanduynslager1-1/+1
2017-01-04Close #21090 - Fix aria-pressed attribute for buttons in container with ↵Johann-S1-3/+3
data-toggle='buttons'
2017-01-02Dropdown: close menu when focusing outside element (#21375)Pierre-Denis Vanduynslager1-4/+5
* Close dropdown menu when focusing an outside element * Update unit test to new markup
2017-01-02update seletors in jsMark Otto1-1/+1
2016-12-31Allow to use nav with tab JSJohann-S1-1/+1
2016-12-27update click state when hiding so can be shown again by trigger. fixes #16732Max Beatty1-0/+4
2016-12-24[Fix #19849] Tabs are opened even if disabled. (#20795)Alessandro Rodi1-1/+3
* [Fix #19849] Tabs are opened even if disabled. * fix hund code review hints * rollback hound issues because Travis fails
2016-12-23Closes: #21412: Fix unit test for carouselJohann-S1-1/+0
2016-12-23Carousel: Only prevents default for ARROW_LEFT and ARROW_RIGHT keysMatheus Azzi1-0/+2
Fixes 2 bugs: 1. All keydowns were being prevented. Because of that the user wasn't able to navigate in the whole page using ARROW_UP/ARROW_DOWN. 2. Even when is an input or textarea the keydowns were being prevented. Because of that the user wasn't able to type any text on these elements.
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-12-21Merge branch 'patch-1' of https://github.com/tracker1/bootstrap into ↵Mark Otto1-1/+1
tracker1-patch-1
2016-12-07Fix tabs by using new classesStarsam801-3/+3
2016-12-07Rename `.active` to `.show`Starsam806-40/+40
2016-12-04remove commented out codeMark Otto1-4/+0
2016-12-04Merge branch 'v4-dev' into carouselMark Otto8-52/+81
2016-12-04fix js for previousMark Otto1-2/+2
2016-12-04pull in js changes from #18830Mark Otto1-14/+32
2016-12-02[V4] Throw error when a plugin is in transition (#17823)Johann4-21/+57
* Throw error when a plugin is in transition * Add unit tests about plugins in transition
2016-11-29Hide popovers when their containing modal is closed. (#21227)Bardi Harborow1-0/+6
2016-11-28Use multi-selector to remove the same event handler (#20642)Juno_okyo1-4/+1
2016-11-28Merge branch 'v4-js-carousel' of https://github.com/J2TeaM/bootstrap into ↵Mark Otto3-14/+5
J2TeaM-v4-js-carousel
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-26Merge branch 'container-tooltip-option' into v4-devMark Otto1-3/+7
2016-11-26Merge pull request #18900 from vlastikcz/v4-dev-buttonChangeMark Otto1-1/+1
Button toggling - trigger change event on input. Fixes #16673, fixes #17599.
2016-11-26Merge pull request #19058 from Johann-S/carouselInputMark Otto1-2/+1
Carousel - Do not prevent on keydown for input and textarea
2016-11-26Follow up fix to #19953 for linting error in buildsMark Otto1-1/+1
See https://travis-ci.org/twbs/bootstrap/jobs/179010884 for build failure
2016-11-26Merge branch 'v4-dev-18796' of https://github.com/maxbeatty/bootstrap into ↵Mark Otto1-1/+1
maxbeatty-v4-dev-18796
2016-11-26Dropdown perf - on keyboard nav, find active item in the active dropdown ↵Pierre-Denis Vanduynslager1-5/+1
rather than the whole document (#19953)
2016-11-26Implement container option for tooltips and popovers.andyexeter1-3/+7
2016-11-25Scrollspy selecting the last element when at the bottom of the page (fixes ↵matus1-1/+7
#17739)
2016-11-25Merge branch 'eslint' of https://github.com/bardiharborow/bootstrap into ↵Mark Otto11-199/+200
bardiharborow-eslint
2016-11-25[Fix #17371][V4] Deactivating dropdown links in nav tab (#17642)Matt Hernandez1-1/+1
* Fix bug with dropdown tab links not deactivating when other tab or dropdown link is clicked * Revise bug fix for more stability
2016-11-24Make JS compliant with the new ESLint rules.Bardi Harborow11-199/+200
2016-10-31Making .tooltip('show') throw an error on elements with display:none (#20940)Johann1-0/+3
2016-10-31Move from $.proxy to es6 arrow functions. (#21049)Bardi Harborow6-18/+14
2016-10-30Fix #17964 (#17997)Ilias1-1/+1
* Fix #17964 Some browsers are lazy when updating dom elements after transition effects. This can be fixed by reading element properties such as offsetHeight or offsetWidth. However, creating a function using the Function constructor just to access such element, results in a violation of Content Security Policy (where applied), which in turn crashes the application. This fix actually reverts to the way this was handled in v3 and should work as intended.
2016-10-25Use a single class name for opened/expanded/shown state of widgetsJohann-S6-40/+40
2016-10-24Merge pull request #20467 from maxbeatty/v4-dev-17754Mark Otto1-5/+5
add support for ol in tab plugin
2016-10-24Merge pull request #18847 from Johann-S/fix18824Mark Otto1-1/+1
Fix bug multiple accordions collapse
2016-10-19version bump to alpha 5Mark Otto11-21/+21
2016-10-19Fix bug multiple accordions collapseJohann-S1-1/+1
2016-10-11Collapse using card componentJohann-S1-1/+1
2016-10-10Merge pull request #17614 from Johann-S/patchTooltipMark Otto1-1/+1
[Fix #17611][V4] Change destroy to dispose for tooltip in _JQueryInterface
2016-10-09Merge pull request #17568 from Johann-S/fixCollapseHeightMark Otto1-1/+1
[Fix #17555][V4] fix resetting style on closing collapse
2016-10-09Merge branch 'tooltip-arrow' of https://github.com/brnrdog/bootstrap into ↵Mark Otto2-4/+1
brnrdog-tooltip-arrow
2016-10-03Fix broken/redirected links, moving to HTTPS where possible. (#20557)Bardi Harborow1-2/+2
2016-09-07Merge #20563 and #20567J2TeaM2-6/+2
2016-09-07Fix eslint (prefer-template)J2TeaM1-2/+2