MoOx / pjax

Easily enable fast Ajax navigation on any website (using pushState + xhr)
MIT License
1.46k stars 125 forks source link

Fails on Internet Explorer #77

Closed drpiou closed 7 years ago

drpiou commented 8 years ago

Hi,

I have an error on Internet Explorer which falls back everytime to classical switch page with refresh. I checked the pjax code and I saw that the function document.implementation.createHTMLDocument was in use with no parameters (which I also saw was optional).

But, I finally found workaround to my bug and make IE working great with pjax by simply giving an argument to createHTMLDocument, like 'pjax' for example.

lacrioque commented 7 years ago

Thank you very much! It is implemented now