From ace7609784c2a9f4441e90ce9883e3475c10d842 Mon Sep 17 00:00:00 2001 From: Anthony Hughes Date: Sat, 8 Oct 2016 14:01:32 +0200 Subject: [PATCH] Fix regression issue for IE and older discovered at https://github.com/MoOx/pjax/pull/16/commits --- 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 )