Merge pull request #1251 from Guiswa/dev/guiswa/issue1226
Fix issue 1226: IE10 "Invalid argument" error in version 0.5 defining retina
This commit is contained in:
commit
1677a7d40d
@ -21,7 +21,7 @@
|
|||||||
mobile = typeof orientation !== undefined + '',
|
mobile = typeof orientation !== undefined + '',
|
||||||
msTouch = (window.navigator && window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints),
|
msTouch = (window.navigator && window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints),
|
||||||
retina = (('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
|
retina = (('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
|
||||||
('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)),
|
||||||
|
|
||||||
doc = document.documentElement,
|
doc = document.documentElement,
|
||||||
ie3d = ie && ('transition' in doc.style),
|
ie3d = ie && ('transition' in doc.style),
|
||||||
|
Loading…
Reference in New Issue
Block a user