Fixed #77 Fails on Internet Explorer

This commit is contained in:
markusfluer
2017-11-02 13:02:17 +01:00
parent 09f14fc86c
commit af57adaafb

View File

@@ -83,7 +83,7 @@ Pjax.prototype = {
},
loadContent: function(html, options) {
var tmpEl = document.implementation.createHTMLDocument("")
var tmpEl = document.implementation.createHTMLDocument("pjax")
// parse HTML attributes to copy them
// since we are forced to use documentElement.innerHTML (outerHTML can't be used for <html>)