From 6dffeba21ad7e165551a63465a7a0a61fadf5445 Mon Sep 17 00:00:00 2001 From: CPTechnikVX Date: Mon, 28 Nov 2016 15:39:14 +0100 Subject: [PATCH] Fix bug on IE11 preventing from ajax page refresh It used to be fixed a long time ago, but was perhaps merged away... --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index efa2517..be13c30 100644 --- a/index.js +++ b/index.js @@ -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 )