Fix bug on IE11 preventing from ajax page refresh

It used to be fixed a long time ago, but was perhaps merged away...
This commit is contained in:
CPTechnikVX
2016-11-28 15:39:14 +01:00
committed by GitHub
parent acdd87ef3d
commit 6dffeba21a

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>)