fix IE8 enter function support