Fixed #77 Fails on Internet Explorer

This commit is contained in:
markusfluer committed 2017-11-02 13:02:17 +01:00
1 parent 09f14fc86c
commit af57adaafb
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@ Pjax.prototype = {
}, },
loadContent: function(html, options) { loadContent: function(html, options) {
var tmpEl = document.implementation.createHTMLDocument("") var tmpEl = document.implementation.createHTMLDocument("pjax")
// parse HTML attributes to copy them // parse HTML attributes to copy them
// since we are forced to use documentElement.innerHTML (outerHTML can't be used for <html>) // since we are forced to use documentElement.innerHTML (outerHTML can't be used for <html>)