From 4715674332fef38d1767565a06bc9b2055c1ebab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Soko=C5=82owski?= Date: Sun, 10 Aug 2014 15:51:44 +0200 Subject: [PATCH] Added IE 10 support --- src/querySelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/querySelector.js b/src/querySelector.js index 96bf2ec..a3fa818 100644 --- a/src/querySelector.js +++ b/src/querySelector.js @@ -23,7 +23,7 @@ var originalElementGetElementsByTagNameNS = document.documentElement.getElementsByTagNameNS; var OriginalElement = window.Element; - var OriginalDocument = window.HTMLDocument; + var OriginalDocument = window.HTMLDocument || window.Document; function filterNodeList(list, index, result) { var wrappedItem = null;