Skip to content

Commit 529c704

Browse files
committed
fixed typo in findElementQueriesElements
1 parent a1ec6e4 commit 529c704

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ElementQueries.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
function findElementQueriesElements(container) {
225225
var query = getQuery(container);
226226

227-
for (var selector in allQueries) if (allQueries.hasOwnProperty(mode)) {
227+
for (var selector in allQueries) if (allQueries.hasOwnProperty(selector)) {
228228
// find all elements based on the extract query selector from the element query rule
229229
var elements = query(selector, container);
230230

@@ -447,7 +447,6 @@
447447
}
448448
}
449449

450-
// findElementQueriesElements();
451450
findResponsiveImages();
452451
};
453452

0 commit comments

Comments
 (0)