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.
1 parent 590bbd9 commit c2869ceCopy full SHA for c2869ce
src/core/Browser.js
@@ -21,7 +21,7 @@
21
mobile = typeof orientation !== undefined + '',
22
msTouch = (window.navigator && window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints),
23
retina = (('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
24
- ('matchMedia' in window && window.matchMedia("") && window.matchMedia("(min-resolution:144dpi)").matches)),
+ ('matchMedia' in window && window.matchMedia("(min-resolution:144dpi)") && window.matchMedia("(min-resolution:144dpi)").matches)),
25
26
doc = document.documentElement,
27
ie3d = ie && ('transition' in doc.style),
0 commit comments