diff --git a/Makefile b/Makefile index a2abea93d0..3d6ac401dc 100644 --- a/Makefile +++ b/Makefile @@ -50,6 +50,13 @@ test: kill -9 `cat js/tests/pid.txt` rm js/tests/pid.txt +# +# CLEANS THE ROOT DIRECTORY OF PRIOR BUILDS +# + +clean: + rm -r bootstrap + # # BUILD SIMPLE BOOTSTRAP DIRECTORY # recess & uglifyjs are required diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js index 6ceacd61dc..c2ccdea218 100644 --- a/js/bootstrap-typeahead.js +++ b/js/bootstrap-typeahead.js @@ -174,7 +174,7 @@ .on('keypress', $.proxy(this.keypress, this)) .on('keyup', $.proxy(this.keyup, this)) - if ($.browser.webkit || $.browser.msie) { + if ($.browser.chrome || $.browser.webkit || $.browser.msie) { this.$element.on('keydown', $.proxy(this.keydown, this)) }