javascript - Internet Explorer throwing SecurityError when I call window.history.pushState() -
i getting "securityerror" thrown when call history api in internet explorer , won't continue running.
here code:
if(window.history.pushstate) { window.history.pushstate({name: 'initial'}, 'initial', ''); }
that right breaks , can't figure out how around it, internet explorer 10+ supports history api.
any appreciated.
Comments
Post a Comment