From af57adaafba5613f3adc46c3e8460ee7413ff102 Mon Sep 17 00:00:00 2001 From: markusfluer Date: Thu, 2 Nov 2017 13:02:17 +0100 Subject: [PATCH] Fixed #77 Fails on Internet Explorer --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 4d6039d..e628021 100644 --- a/index.js +++ b/index.js @@ -83,7 +83,7 @@ Pjax.prototype = { }, loadContent: function(html, options) { - var tmpEl = document.implementation.createHTMLDocument("") + var tmpEl = document.implementation.createHTMLDocument("pjax") // parse HTML attributes to copy them // since we are forced to use documentElement.innerHTML (outerHTML can't be used for )