Unify browser behavior re. change/enter, fix #1207