aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19fix version numberMark Otto33-53/+53
2017-10-19new version numberMark Otto33-53/+53
2017-10-19distMark Otto2-5/+8
2017-10-19Make 1.9.1 the minimum jQuery version again. (#24434)XhmikosR1-4/+8
2017-10-15distMark Otto24-36/+46
2017-10-10Modal plugin set _isTransitioning after the trigger of hide eventJohann-S2-6/+28
2017-10-07Update js/tests/README.md (#24281)Vasilii Artemchuk1-4/+4
2017-10-04Remove global jQuery in eslint because we import jQuery (#24246)Johann-S2-3/+3
2017-10-04Update modal.jsXhmikosR1-1/+4
2017-10-04Unit test for modal bug fixlucascono1-0/+13
Unit test for pull request #24240
2017-10-04Fix modal buglucascono1-1/+1
Fix for issue #24117
2017-10-04Use imported jQuery objectJohann-S12-13/+13
2017-10-03Switch to lowercase `doctype`. (#24217)XhmikosR11-11/+11
Having it uppercase doesn't offer anything and the lowercase version slightly improves gzip compression.
2017-10-03Offset option for dropdown can be function (#24222)Roman O1-4/+11
* Offset option can be function (Popper.js) * Fix...add function type for offset option * Remove constants for popper config * Optimize code. Remove foreach loop. * Refactoring. Remove getOffset method
2017-10-01js/tests/visual/tab.html: fix HTML validation errors. (#24183)XhmikosR1-4/+4
2017-09-30distMark Otto24-2317/+2059
2017-09-28Lint docs js too and use `strict consistently. (#24160)XhmikosR1-3/+0
2017-09-26Add eslint-plugin-compat.XhmikosR1-0/+2
We can check for browser compatibility on lint time now.
2017-09-26Normalize all links. (#24109)XhmikosR2-4/+4
* use a trailing slash when possible * use https when possible * remove a few redirected links * consistently use `https://popper.js.org/` * fix `iconUrl` in nuget files * change Jekyll Windows guide to the official one
2017-09-25Collapse - Allow to pass jQuery object or DOM element to the parent optionJohann-S3-7/+62
2017-09-24Accessibility fixes to dynamic tabs (`aria-selected`, remove dynamic tabs ↵Patrick H. Lauke2-15/+19
with dropdowns) * Use `aria-selected` instead of `aria-expanded` * Change tab.js to use `aria-selected` rather than `aria-expanded` * Add `aria-orientation=vertical` to vertical tab list * Remove dynamic tabs with dropdowns * Fix non-interactive code examples * Only set `aria-selected` on the `role="tab"` trigger - this stops `aria-selected` being incorrectly added to the `role="tabpanel"` itself (probably harmless, but nonetheless incorrect)
2017-09-17fix(scrollspy): Spying on nested navs fails to activate for .nav-link's ↵Troy Morehouse2-0/+44
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-09-12distMark Otto22-81/+79
2017-09-11Remove not necessary condition in tooltip.jsvsn4ik1-3/+3
2017-09-11Merge branch 'v4-dev' into collapse-js-with-text-truncateJohann-S22-84/+79
2017-09-09distMark Otto22-84/+79
2017-09-08Collapse.js preventDefault if `[data-toggle="collapse"]` is an anchor tagPatrick Yeo1-1/+1
2017-09-07Remove placement attribute from our Dropdown pluginJohann-S1-9/+2
2017-09-05distMark Otto24-1805/+2030
2017-09-03Merge branch 'v4-dev' into fix-jumping-modal-on-resizeJohann-S14-19/+103
2017-09-02Merge branch 'v4-dev' into fix-unwanted-padding-on-modalJohann-S13-17/+74
2017-08-31Regroup our jQuery check in the same IIFEJohann-S1-4/+4
2017-08-31Create a bundled release of Bootstrap with Popper.js insideJohann-S13-17/+74
2017-08-29Fix failing testDavid Bailey1-0/+2
_adjustDialog should be called when the modal is first displayed to prevent it jumping position when the viewport is resized
2017-08-29Add failing testDavid Bailey1-0/+14
2017-08-29Fix unit tests in PhantomJSDavid Bailey1-3/+10
Use a virtual scrollbar as this is simpler than having a real one (overflow: scroll doesn't seem to work in Phantom), and disable it for the new test. One test has also been altered to prevent erroneous fails when other inline styles are added to the body (e.g. overflow).
2017-08-28Use getBoundingClientRect instead of jQueryDavid Bailey1-1/+2
2017-08-28Use jQuery outerWidth instead of offsetWidthDavid Bailey1-1/+1
2017-08-28Fix unwanted body padding when a modal opensDavid Bailey1-1/+1
Prevents the test from failing
2017-08-28Add failing testDavid Bailey1-0/+19
When the body does not overflow (achieved by hiding the QUnit container), it should not be given a margin.
2017-08-25Add unit test for xss in data target attributemeeque1-0/+36
2017-08-25Fix XSS in data-targetJohann-S2-1/+5
2017-08-25Fix sticky margin when a modal is opened (#23669)David Bailey2-2/+52
* Adjust margin for sticky elements on modal Previously white space was visible to the right of sticky elements due to right padding being added to the body. This fixes #23661. * Add unit tests for margin of sticky elements on modal
2017-08-25Collapse - preventDefault only on <a> elements not inside the collapsibleJohann-S3-2/+28
element
2017-08-24Fix toggle for Tooltips/Popover which was called even if the Tooltip/Popover ↵Johann-S3-2/+50
was disabled
2017-08-23Enable the `no-return-assign` rule.Johann-S3-3/+5
2017-08-23Tweak ESLint rules.XhmikosR20-39/+38
2017-08-20distMark Otto22-77/+75
2017-08-20distMark Otto22-76/+79
2017-08-18Update devDependencies and fix a typo in comment. (#23534)XhmikosR1-1/+1