From d0745a7ebb4e858c971f847128f8d1310fa890a8 Mon Sep 17 00:00:00 2001 From: cmcnulty Date: Wed, 8 Jan 2014 22:44:18 -0600 Subject: [PATCH] remove dependence on CSS3 :not selector This change is made necessary because not every browser that implements querySelectorAll implements all of CSS selectors --- js/foundation/foundation.interchange.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/foundation/foundation.interchange.js b/js/foundation/foundation.interchange.js index d227a2184..23be89137 100644 --- a/js/foundation/foundation.interchange.js +++ b/js/foundation/foundation.interchange.js @@ -179,7 +179,7 @@ }, update_nodes : function () { - var nodes = this.S('[' + this.data_attr + ']:not(img)'), + var nodes = this.S('[' + this.data_attr + ']').not('img'), count = nodes.length, loaded_count = 0, data_attr = this.data_attr; @@ -302,4 +302,4 @@ }; -}(jQuery, this, this.document)); \ No newline at end of file +}(jQuery, this, this.document)); -- 2.47.2