fix post keypress for chrome