Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Waterfix (#628)
Browse files Browse the repository at this point in the history
* move contact us into es5 bundle

* build simplification

* fix road closures lookup

* fix water on phones

Co-authored-by: Aaron Hans <[email protected]>
  • Loading branch information
aaronhans and aaronhans authored Mar 10, 2020
1 parent 990cba6 commit f955d3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/js/water/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ if (document.querySelector('body.js-water')) {
});

document.querySelector(fieldSelector).addEventListener('keydown', event => {
if (event.isComposing || event.keyCode === 229) {
return;
}
const skipKeys = [13, 9, 27, 38, 40]; // do not reset suggestion list if using arrow keys, enter, tab
if (event.target.value.length >= 2) {
if (skipKeys.indexOf(event.keyCode) === -1) {
Expand Down

0 comments on commit f955d3d

Please sign in to comment.