1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 21:22:52 +02:00
This commit is contained in:
Mark Otto
2014-11-11 20:25:09 -08:00
parent c672ed3fb0
commit ff386147ce
11 changed files with 10 additions and 18 deletions

View File

@@ -797,7 +797,7 @@ if (typeof jQuery === 'undefined') {
}
Dropdown.prototype.keydown = function (e) {
if (!/(38|40|27|32)/.test(e.which)) return
if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return
var $this = $(this)

File diff suppressed because one or more lines are too long