Merge pull request #81 from CPTechnikVX/patch-1

Fix bug on IE11 preventing from ajax page refresh
This commit was merged in pull request #81.
This commit is contained in:
Markus Flür
2017-07-20 15:34:50 +02:00
committed by GitHub

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