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

View File

@@ -81,7 +81,7 @@ Pjax.prototype = {
}, },
loadContent: function(html, options) { loadContent: function(html, options) {
var tmpEl = document.implementation.createHTMLDocument() var tmpEl = document.implementation.createHTMLDocument("")
// 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>)