Fix regression issue for IE and older discovered at https://github.com/MoOx/pjax/pull/16/commits

This commit is contained in:
Anthony Hughes
2016-10-08 14:01:32 +02:00
parent f7cce3c04d
commit ace7609784

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