Skip to content

Commit 279fc9f

Browse files
Fix for IE11 not finding elements
1 parent 5149c38 commit 279fc9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ElementQueries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
}
180180
}
181181

182-
var regex = /,?([^,\n]*?)\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]([^\n\s\{]*?)/mgi;
182+
var regex = /,?([^,\n]+?)\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]([^\n\s\{]*?)/mgi;
183183

184184
/**
185185
* @param {String} css

0 commit comments

Comments
 (0)