-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use matchMedia to check if we on Desktop
By using matchedMedia we can be sure we are in a mobile or desktop view, previously we simply checked if the filter view was closed, but the state of this was not dependant on mobile or desktop.
- Loading branch information
1 parent
9618aef
commit ee0a932
Showing
1 changed file
with
9 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters