Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
prushforth committed Nov 7, 2024
1 parent ae8bfff commit 6d479c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mapml-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,6 @@ export class HTMLMapmlViewerElement extends HTMLElement {
.some((pref) => pref === queryValue)
.toString();
}

return 'false';
};
let matches = solveMediaQueryList(parsedQuery, {
Expand All @@ -1074,7 +1073,7 @@ export class HTMLMapmlViewerElement extends HTMLElement {

if (context === 'range') {
// Range case: <mf-name> <mf-comparison> <mf-value>
// Example: (map-zoom < 15), (map-zoom >= 10)
// Example: (0 <= map-zoom < 15)
switch (op) {
case '<':
return currentZoom < value.value ? 'true' : 'false';
Expand Down

0 comments on commit 6d479c3

Please sign in to comment.