aboutsummaryrefslogtreecommitdiff
path: root/js/src
AgeCommit message (Collapse)AuthorFilesLines
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
2016-09-07Remove classes at one timeJ2TeaM1-8/+3
2016-09-05versionsMark Otto11-21/+21
2016-08-04add support for ol in tab plugin. fixes #17754Max Beatty1-5/+5
2016-08-04prevent navigating to area href when modal target. fixes #18796Max Beatty1-1/+1
2016-07-27bump versionsMark Otto11-21/+21
2016-06-05Enable more rules from ESLint 2.0; refs #19999 (#20076)Chris Rebert1-1/+1
[skip sauce] [skip validator]
2016-06-04Update ESLint to v2.5.3 (#20043)Chris Rebert1-3/+8
Refs #19908. [skip sauce] [skip validator]
2016-05-31Tweak Esc key comment in modal.jsChris Rebert1-1/+1
[skip sauce] [skip validator]
2016-05-31Comply with consistent-return ESLint ruleChris Rebert2-0/+2
2016-05-30Use named constants for magic numbers (#19992)Chris Rebert4-16/+25
Mostly KeyboardEvent.which and MouseEvent.which values. [skip validator]
2016-05-18Remove stray "~" in modal paddingRight value (#19932)akai1-1/+1
[skip validator]
2016-05-11Handle aria-hidden on modal container when showing/hidingPatrick H. Lauke1-0/+2
Fixes #19878
2016-04-21Modal: Remove IE8-specific window.innerWidth workaroundChris Rebert1-7/+1
[skip validator]
2016-02-17Replace jQuery with vanilla JSPatrick H. Lauke1-1/+1
2016-02-16Focus (visually hidden) input radio/checkboxPatrick H. Lauke1-0/+3
This allows for keyboard navigation (e.g. arrow keys left/right to trigger different radio buttons) following an initial mouse click interaction
2016-02-01Carousel - Do not prevent on keydown for input and textareaJohann-S1-2/+1
2016-01-26scrollspy.js: Avoid gratuitous non-ASCII for consistency+compatibilityChris Rebert1-1/+1
Fixes #19028 [skip sauce] [skip validator]
2016-01-14Button toggling - trigger change event on inputKotas Vlastimil1-1/+1
Bootstrap’s .button styles can be applied to other elements, such as labels, to provide checkbox or radio style button toggling. When the checkbox or radio state is changed, there should be triggered the change event. Currently, the change event is triggered on the Button, which is not correct. Only input fields do support the change event.
2015-12-24Exempt getUID() from ESLint's no-bitwise ruleChris Rebert1-0/+2
[skip sauce] [skip validator]