Fix bug on IE11 preventing from ajax page refresh #81

Merged
CPTechnikVX merged 1 commits from patch-1 into master 2017-07-20 08:34:50 -05:00
Showing only changes of commit 6dffeba21a - Show all commits

View File

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