fix error in initializing map on hidden iframe in Firefox

This commit is contained in:
dreamfall 2012-11-23 18:23:59 +03:00
parent b5c0a5f5f9
commit 56f3f7ca07

View File

@ -17,7 +17,7 @@
mobile = typeof orientation !== undefined + '',
msTouch = (window.navigator && window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints),
retina = (('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
('matchMedia' in window && window.matchMedia("(min-resolution:144dpi)").matches)),
('matchMedia' in window && window.matchMedia("") && window.matchMedia("(min-resolution:144dpi)").matches)),
doc = document.documentElement,
ie3d = ie && ('transition' in doc.style),