1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00

enable arrow key navigation in typeahead for Firefox

see https://github.com/twitter/bootstrap/issues/3741
This commit is contained in:
Niklas H 2012-07-17 23:44:49 +03:00 committed by Thomas McDonald
parent 7b06626ac6
commit d04c446e88

View file

@ -168,7 +168,7 @@
.on('keypress', $.proxy(this.keypress, this))
.on('keyup', $.proxy(this.keyup, this))
if ($.browser.webkit || $.browser.msie) {
if ($.browser.webkit || $.browser.msie || $.browser.mozilla) {
this.$element.on('keydown', $.proxy(this.keypress, this))
}