aboutsummaryrefslogtreecommitdiff
path: root/js/button.js
AgeCommit message (Collapse)AuthorFilesLines
2016-07-25Update version numbers in preparation for v3.3.7 release (#20357)Chris Rebert1-2/+2
[skip sauce]
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-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-02-16button.js: Fix keyboard navigationFabrice Daugan1-3/+8
This PR fixes the keyboard navigation again while still keeping #16223 fixed. Closes #19192
2016-01-01Update copyright years to 2016Chris Rebert1-1/+1
[ci skip]
2015-11-24bump versionMark Otto1-2/+2
2015-06-16bump versionMark Otto1-2/+2
2015-05-01Fix radio and checkbox keyboard handlingPatrick H. Lauke1-5/+9
Fix for problem that emerged from #16226 (`.active` class not actually being applied) and expansion of the script to also correctly handle keyboard interaction with checkboxes in `data-toggle="button"` groups
2015-04-28Minor lint tweaks.XhmikosR1-1/+1
2015-04-11Don't preventDefault radio buttonsPatrick H. Lauke1-3/+3
as this breaks keyboard navigation for radio button toggles (see https://github.com/twbs/bootstrap/issues/16223)
2015-03-16v3.3.2 => v3.3.4Chris Rebert1-2/+2
2015-01-19bump versionsMark Otto1-2/+2
2015-01-01Happy New Year :santa:Zlatan Vasović1-1/+1
2014-11-12bump version to v3.3.1v3.3.1Mark Otto1-2/+2
2014-10-30Use RegExp for button plugin's focus shimHeinrich Fenkart1-1/+1
Fixes #14923.
2014-10-29version bumpMark Otto1-2/+2
2014-10-29Merge pull request #14457 from hnrch02/button-set-val-after-event-loopHeinrich Fenkart1-2/+2
Change value of stateful button after event loop
2014-10-22Add `aria-pressed` to single toggle buttonsPatrick H. Lauke1-0/+2
also includes tiny fix/clarification to two existing unit tests for the .active class, adding data-toggle=“button” explicitly to the tested buttons Closes #14819.
2014-08-26Change value of stateful button after event loopHeinrich Fenkart1-2/+2
Fixes #14450
2014-07-16Follow-up to #13907: simplify JS logic for focus shimHeinrich Fenkart1-14/+2
2014-07-07Merge pull request #13907 from twbs/fat-12145Mark Otto1-6/+22
add "focus" to focused btns with button plugin
2014-06-26bump to v3.2.0Mark Otto1-2/+2
2014-06-23add "focus" to focused btns with button pluginfat1-6/+22
2014-06-23Revert UMD (#13772 & friends) for now, due to #13812.Chris Rebert1-80/+74
Will hopefully revert this reversion and land a fully-working version of UMD in v3.3.0. Revert "some changes from #13801 - add strict mode back and ==" This reverts commit 2b302f69eea416bc85e7827b7d7a74d49f879662. Revert "Fix regression of #10038 introduced by #13772" This reverts commit e9d6756a1ac76a9db31a41e8e03f663bedc41b70. Revert "MD/CommonJS/Globals #12909" This reverts commit 1c6fa9010daf0d0c21de9e20fe6ac4dba1788d90. Revert "address #13811" This reverts commit f347d7d955bbb17234b8e12c68efae7d516ce62c. Conflicts: js/carousel.js js/collapse.js js/dropdown.js js/modal.js js/tab.js js/tooltip.js
2014-06-12some changes from #13801 - add strict mode back and ==fat1-77/+79
2014-06-12Fix regression of #10038 introduced by #13772Heinrich Fenkart1-1/+1
2014-06-10MD/CommonJS/Globals #12909Katie Zhu1-2/+6
2014-05-12versionsfat1-0/+2
2014-05-05Allow for resetText of a button to be a falsey value; fixes #13466Heinrich Fenkart1-2/+2
2014-04-21#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal ↵Collin Donahue-Oponski1-4/+5
reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-04-19quote attribute value in ^= selector in button.jsChris Rebert1-1/+1
2014-02-13v3.1.1 bumpMark Otto1-1/+1
2014-01-30Bump versions, run gruntv3.1.0Mark Otto1-1/+1
2014-01-07Merge pull request #12057 from ZDroid/nlChris Rebert1-1/+2
'use strict' on new line
2014-01-07Update copyright notices in all placesJulian Thilo1-1/+1
- Implements new format "Copyright 2011-xxxx Twitter, Inc.", which resonates well with our History page and more accurately reflects the copyright status of the repo - grunt dist to update all the files
2014-01-01'use strict' on new lineZlatan Vasović1-1/+2
2014-01-01New YearZlatan Vasović1-1/+1
2013-12-26fixes #10890fat1-14/+16
2013-12-24roll back version numbers to avoid broken links in docs and readme (fixes ↵Mark Otto1-1/+1
#12000)
2013-12-18update licensing header in JS files & run gruntChris Rebert1-12/+1
2013-12-18version bumpMark Otto1-1/+1
2013-12-08Use single quotes consistently.XhmikosR1-1/+1
2013-12-01bump version numbers to 3.0.3Mark Otto1-1/+1
2013-11-10Don't deselect radio buttons in data-toggle; fixes #9920Brian Leonard1-4/+10
Merges #10787
2013-11-06bump versions to v3.0.2Mark Otto1-1/+1
2013-11-05Merge pull request #10039 from daguej/js-refsChris Rebert1-1/+1
Don't explicitly reference global jQuery
2013-11-01update version numbers in JS file comment headers to v3.0.1 & regruntChris Rebert1-1/+1
2013-10-29JS comments pointed to new documentationJared Christensen1-1/+1
2013-08-22Don't explicitly reference global jQueryJosh Dague1-1/+1
Removes `window.jQuery` in favor of `jQuery`, fixes #10038
2013-08-02fixes #8957fat1-1/+3