#39. Ignore enter keys when the input field is empty.