Fix pure_dash_on_off_switch for IE8