aboutsummaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)AuthorFilesLines
2018-10-18Switch to lowercase `doctype`.XhmikosR13-13/+13
2018-10-18Use https, fix broken links and unneeded redirects.XhmikosR14-20/+20
2018-10-18fix: add padding to `navbar-fixed-*` on modal openAndrew Luca1-21/+37
2018-10-18test: ensure .navbar-fixed-* padding on modal openAndrew Luca1-0/+76
2018-10-08Cache length variables.XhmikosR1-2/+2
2018-10-08Minor indentation fixes.XhmikosR4-60/+60
2018-10-08Fix HTML validation errors and lint tests too.XhmikosR13-19/+18
2018-10-08Bump year to 2018.XhmikosR12-12/+12
2018-09-28Use BrowserStack for our unit tests.Johann-S11-4844/+553
2018-08-19fix unit testsJohann-S6-46/+17
2018-08-13Fix/xss issues on data attributes (#27047)don-spyker6-4/+49
* fix(collapse): xss CVE-2018-14040 Fixes #26625 * fix(tooltip): xss CVE-2018-14042 Fixes #26628 * fix(tooltip): XSS on data-viewport attribute Fixes #27044 * fix(affix): XSS on target config Fixes #27045
2018-05-07fix(tab): remove xssJohann-S1-1/+1
2018-04-06Merge remote-tracking branch 'origin/master' into v3.4.0-devMark Otto1-1/+3
2017-10-04Prevent empty carousel from throwing, and staying in a 'sliding' state.Craig Main1-1/+3
Fixes #24132.
2017-09-14Fix XSS in Alert, Carousel, Collapse, Dropdown and ModalJohann-S7-7/+23
2017-07-04bump versionMark Otto12-23/+23
2016-07-25Update version numbers in preparation for v3.3.7 release (#20357)Chris Rebert12-23/+23
[skip sauce]
2016-07-20Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3; ↵Chris Rebert1-1/+4
fixes #20280 (#20313) Refs https://github.com/jquery/jquery/issues/3137 [skip validator]
2016-07-12button.js: Set disabled property in addition to disabled attribute to ↵Chris Rebert1-2/+2
preserve behavior under jQuery 3 (#20278) This code ought to have used .prop instead of .attr in the first place, but we can't get rid of the attr manipulation now due to backward compatibility constraints. Refs https://github.com/jquery/jquery-migrate/blob/3.0.0/warnings.md#jqmigrate-jqueryfnremoveattr-no-longer-sets-boolean-properties Refs #16834 [skip validator]
2016-07-12alert: Avoid calling jQuery('#'), it's a syntax error in jQuery 3.0 (#20019)Dave Methvin1-1/+1
2016-07-07Port #20198 to v3Dave Methvin1-2/+2
ScrollSpy unit test: Use single done() in a then() instead of multiple done()s Fixes test flakiness on OS X Safari and Android when using jQuery 3. Fixes #20182 more Refs #20191
2016-07-07Port #20190 to v3Dave Methvin1-2/+2
Scrollspy test: Allow for async .then() in jQuery 3; fixes #20182 Instead of doing a new assert.async(), just do a single one for the entire test and let the .then() be async as well.
2016-05-29Clear tooltip's $element to prevent leaking memory. Fixes #17973Greg Sheremeta1-3/+6
Closes #19659
2016-05-29Merge two jQuery `is()` calls in the button component by using the OR ↵Jonathan Persson1-1/+1
operator in the selector instead of two function calls with the OR operator between them. Closes #16918.
2016-05-26Update jQuery to v1.12.4.XhmikosR1-5/+5
2016-03-19Update jQuery to v1.12.2.XhmikosR1-5/+5
2016-03-10Update QUnit to v1.22.0.XhmikosR2-946/+2300
2016-03-10Fix JSHint errors.XhmikosR1-0/+1
[skip sauce]
2016-02-23Update jQuery to 1.12.1alberto1-5/+5
2016-02-18Bump html5shiv to v3.7.3Chris Rebert12-12/+12
Fixes #19262 Thanks to @coliff for pointing out that we were using an outdated version.
2016-02-16Port #19220 to v3Chris Rebert1-1/+4
js/tests/index.html: Replace jQuery event alias methods with functions that throw explanatory errors, instead of with undefined Refs https://github.com/twbs/bootstrap/pull/19219#issuecomment-184653699 [skip validator]
2016-02-16Visual/manual test for checkbox/radio button kbd behaviorPatrick H. Lauke1-2/+5
2016-02-16button.js: Fix keyboard navigationFabrice Daugan2-3/+10
This PR fixes the keyboard navigation again while still keeping #16223 fixed. Closes #19192
2016-01-15enforceFocus event.target - event is undefinedSean Jones1-1/+1
event.target should be e.target within enforceFocus method.
2016-01-01Update copyright years to 2016Chris Rebert12-12/+12
[ci skip]
2015-12-22Modal: Ignore spurious `focus` event that Firefox fires at `document` when ↵Chris Rebert1-1/+3
switching back to its tab Fixes #18365 Ports #18638 to v3 Refs https://bugzilla.mozilla.org/show_bug.cgi?id=1228802
2015-12-22Add visual test for #18365Chris Rebert1-0/+43
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1228802
2015-12-22js/tests/unit/modal.js: Fix typoChris Rebert1-1/+1
[ci skip]
2015-11-24bump versionMark Otto12-23/+23
2015-09-28Documentation clean up and consistency; closes #17625Baraa Hamodi1-0/+1
[skip sauce]
2015-07-27Fix triggering of {shown,hidden}.bs.dropdown events so relatedTarget gets ↵Johann-S2-2/+34
set properly Fixes #16828 Closes #16865
2015-07-02Removes unnecessary period at end of commentMelinda Sarnicki Bernardo1-1/+1
2015-06-16bump versionMark Otto12-23/+23
2015-06-02generalize dropdowns / drop role="menu"Patrick H. Lauke5-63/+63
as role="menu" is a very specific (and strict) ARIA pattern for desktop-like application menus, and our dropdowns are often used as pure navigation dropdowns, this change abandons ARIA menus for a more open-ended and light-weight approach (see http://heydonworks.com/practical_aria_examples/#submenus and http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria) note that in dropdown.js, switched to now target ``.dropdown-menu`` instead of ``role["menu"]`` - this also prevents bootstrap scripts from "bleeding" into non-bootstrap components on the same page. also removed the ``role=["listbox"]`` part, which appears to be vestigial/unused (only place in bootstrap that uses that role are carousels, and their key handling is done separately)
2015-05-17Use `https` when possible.XhmikosR1-1/+1
2015-05-10Update jQuery to v1.11.3.XhmikosR1-5/+5
2015-05-05phantom.js: switch to unicode characters that work on Windows too.XhmikosR1-2/+2
2015-05-05Comply to the new JSCS rules.XhmikosR2-9/+11
2015-05-05Update JSCS rules.XhmikosR1-0/+5
2015-05-04Merge pull request #16014 from redbmk/issue-16008Chris Rebert2-6/+70
Multiple tooltip triggers don't play well together