We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
values.type === 'all'
1 parent 3c195d6 commit dcac50cCopy full SHA for dcac50c
index.js
@@ -23,8 +23,7 @@ function matchQuery(mediaQuery, values) {
23
24
// Either the parsed or specified `type` is "all", or the types must be
25
// equal for a match.
26
- var typeMatch = query.type === 'all' || values.type === 'all' ||
27
- values.type === query.type;
+ var typeMatch = query.type === 'all' || values.type === query.type;
28
29
// Quit early when `type` doesn't match, but take "not" into account.
30
if ((typeMatch && inverse) || !(typeMatch || inverse)) {
0 commit comments