]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Merge branch 'dropdown-aria-roles' of git://github.com/plumlee/bootstrap into plumlee...
authorfat <jacobthornton@gmail.com>
Mon, 30 Dec 2013 03:23:15 +0000 (19:23 -0800)
committerfat <jacobthornton@gmail.com>
Mon, 30 Dec 2013 03:23:15 +0000 (19:23 -0800)
Conflicts:
js/dropdown.js

1  2 
js/dropdown.js

diff --cc js/dropdown.js
index b19b255ae0c91aa7b2f1c507251adc8042d4cc54,0a210ef355bde3fa0426a47d22210bfe77134e46..1e25403fc01344e1d2c672dde49f657e88904a87
    $(document)
      .on('click.bs.dropdown.data-api', clearMenus)
      .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
 -    .on('click.bs.dropdown.data-api'  , toggle, Dropdown.prototype.toggle)
 -    .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu], [role=listbox]' , Dropdown.prototype.keydown)
 +    .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
-     .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu]', Dropdown.prototype.keydown)
++    .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu], [role=listbox]', Dropdown.prototype.keydown)
  
  }(jQuery);