Permalink
Browse files

Datalist: Corrected unnecessary conditional nesting.

  • Loading branch information...
pjackson28 committed Sep 16, 2013
1 parent 0655ecc commit 40c9e401d0a60099810fa8619790a52b3deca0ad
Showing with 3 additions and 6 deletions.
  1. +3 −6 src/js/polyfills/datalist.js
@@ -119,12 +119,9 @@
pe.focus(dest); pe.focus(dest);
return false; return false;
} }
} else { } else if (keyCode === 38 || keyCode === 40) { // up or down arrow (with or without alt)
// up or down arrow (with or without alt) showOptions('');
if (keyCode === 38 || keyCode === 40) { return false;
showOptions('');
return false;
}
} }
} }
} else if (type === 'click' || type === 'vclick') { } else if (type === 'click' || type === 'vclick') {

0 comments on commit 40c9e40

Please sign in to comment.