if android chrome, use keyup instead of keypress
typo