aboutsummaryrefslogtreecommitdiff
path: root/js/src
AgeCommit message (Collapse)AuthorFilesLines
2017-03-18Allow to use Tab.js with list-group (#21756)Johann1-3/+9
* Allow to use Tab.js with list-group * Allow to use list-group with div parent instead of an ul parent
2017-03-08Fix code styleJohann-S1-2/+1
2017-03-07Detach accordions from .cardJohann-S1-2/+11
2017-02-08Fixes #21941Pierre-Denis Vanduynslager1-6/+8
2017-01-22Fix spacebar key in Firefox for button elementsPierre-Denis Vanduynslager1-4/+4
2017-01-15Merge branch 'twbs/v4-dev' into dropdown-keyboardPierre-Denis Vanduynslager2-5/+7
2017-01-15Correct reference to Direction.PREV constant. (#21709)Pierre-Denis Vanduynslager1-4/+4
2017-01-15Use existing keycode constants in dropdown. (#21697)Pierre-Denis Vanduynslager1-1/+3
2017-01-06Merge branch 'twbs/v4-dev' into dropdown-keyboardPierre-Denis Vanduynslager11-25/+25
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-04Merge conflictPierre-Denis Vanduynslager1-6/+0
2017-01-04Merge branch 'twbs/v4-dev' into dropdown-keyboardPierre-Denis Vanduynslager3-5/+12
# Conflicts: # js/src/dropdown.js
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-28Merge branch 'twbs/v4-dev' into dropdown-keyboardPierre-Denis Vanduynslager11-349/+418
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.