devote / HTML5-History-API

HTML5 History API expansion for browsers not supporting pushState, replaceState
http://spb-piksel.ru
MIT License
1.02k stars 182 forks source link

Issue in IE8 #39

Closed chaonextdoor closed 10 years ago

chaonextdoor commented 10 years ago

In IE8, when I try to use history.back() to navigate to previous state, it always tells me "Unable to get property 'replace' of undefined or null reference. history.min.js, line 16 character 274" and therefore, the url didn't change to previous state. IE9 & 10 work fine.

devote commented 10 years ago

Hi @chaonextdoor, I can not reproduce this bug, tell us in detail what you do. If not more difficult, make a small example. Thank you!

chaonextdoor commented 10 years ago

Hi @devote . Sorry, I just found that it had something to do with another IE8 bug in my code:( (IE is really a pain in the ass!!!). It works now. Thanks sooooo much and your plugin works like a charm!