aboutsummaryrefslogtreecommitdiff
path: root/js/dropdown.js
AgeCommit message (Collapse)AuthorFilesLines
2019-02-15Replace `master` with `v3-dev` after the branch switch. (#28287)XhmikosR1-1/+1
2019-02-13handle # selector for dropdownJohann-S1-1/+1
2019-02-13Bump version to 3.4.1.XhmikosR1-2/+2
2019-02-13Bump year.XhmikosR1-1/+1
2018-10-18Use https, fix broken links and unneeded redirects.XhmikosR1-1/+1
2018-10-08Bump year to 2018.XhmikosR1-1/+1
2017-09-14Fix XSS in Alert, Carousel, Collapse, Dropdown and ModalJohann-S1-1/+1
2017-07-04bump versionMark Otto1-2/+2
2016-07-25Update version numbers in preparation for v3.3.7 release (#20357)Chris Rebert1-2/+2
[skip sauce]
2016-01-01Update copyright years to 2016Chris Rebert1-1/+1
[ci skip]
2015-11-24bump versionMark Otto1-2/+2
2015-07-27Fix triggering of {shown,hidden}.bs.dropdown events so relatedTarget gets ↵Johann-S1-2/+2
set properly Fixes #16828 Closes #16865
2015-06-16bump versionMark Otto1-2/+2
2015-06-02generalize dropdowns / drop role="menu"Patrick H. Lauke1-1/+1
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-04-28Minor lint tweaks.XhmikosR1-38/+38
2015-04-08Use .dropdown-menu instead of ARIA roles for dropdown keydown event handler; ↵Chris Rebert1-2/+1
fixes #16090
2015-03-21Fix #16072: Clicking into input field within dropdown no longer closes the ↵Emmanuel Bourgerie1-0/+2
dropdown Closes #16073 by merging it
2015-03-18Merge pull request #16024 from twbs/unnecessary-parsingChris Rebert1-1/+4
avoid unnecessary HTML string building+parsing
2015-03-16v3.3.2 => v3.3.4Chris Rebert1-2/+2
2015-03-09avoid unnecessary HTML string building+parsingChris Rebert1-1/+4
2015-02-26Dropdowns: Skip `.disabled` instead of `.divider` on keydown eventvsn4ik1-1/+1
Fixes #15147. Closes #15520 by merging it.
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-11-12Dropdown: ignore keydown events coming from `input`s and `textarea`sHeinrich Fenkart1-1/+1
Fixes #15084.
2014-10-29version bumpMark Otto1-2/+2
2014-10-29Independently delegate data-api selectorsBen-Russell1-1/+3
Fixes #14462. Closes #14463 by merging it.
2014-10-23Merge pull request #14669 from vsn4ik/dropdown_event_targetHeinrich Fenkart1-1/+1
Use e.target instead :focus selector.
2014-10-02Escape key should only close Dropdownfat1-4/+4
2014-09-23Use e.target instead :focus selector.vsn4ik1-1/+1
2014-07-21Merge branch 'dropdown-aria' of git://github.com/mckramer/bootstrap into ↵fat1-2/+10
mckramer-dropdown-aria Conflicts: docs/_includes/js/dropdowns.html
2014-06-26bump to v3.2.0Mark Otto1-2/+2
2014-06-23Revert UMD (#13772 & friends) for now, due to #13812.Chris Rebert1-105/+99
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-19Update a few source files to comply to new JSCS rulesHeinrich Fenkart1-1/+1
2014-06-12some changes from #13801 - add strict mode back and ==fat1-102/+104
2014-06-12Fix regression of #10038 introduced by #13772Heinrich Fenkart1-1/+1
2014-06-10MD/CommonJS/Globals #12909Katie Zhu1-2/+6
2014-05-22Add aria-haspopup and aria-expanded attributes to dropdown pluginMax Kramer1-2/+6
1. Add aria-haspopup="true" and aria-expanded="false" to dropdown docs 2. Toggle aria-expanded between "true" and "false" when opening and closing dropdown Satisfy item 1 from https://github.com/paypal/bootstrap-accessibility-plugin#dropdown. See #13553.
2014-05-12versionsfat1-0/+2
2014-04-21#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal ↵Collin Donahue-Oponski1-3/+4
reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-04-15fixes #13296 Dropdown disappears with right-click on Firefoxfat1-0/+1
2014-04-08When opening the dropdown, focus() the dropdown-toggle BEFORE triggering ↵Collin Donahue-Oponski1-2/+2
'shown.bs.dropdown' Closes #11281 by merging it (after rebasing & resolving conflicts)
2014-03-06use quotes around all element attr vals in JS; fixes #12946Chris Rebert1-3/+3
2014-02-16Remove event aliases from JavaScriptHeinrich Fenkart1-4/+4
Makes life for people with custom jQuery builds excluding event aliases much easier.
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