learn-a11y icon indicating copy to clipboard operation
learn-a11y copied to clipboard

Fixed missing property

Open dtauer opened this issue 2 years ago • 0 comments

matchMedia returns an array so the result is always truthy and the conditions won't work. Using the .matches property will validate the preference.

dtauer avatar Sep 16 '22 17:09 dtauer