Changeset 1700
- Timestamp:
- 10/16/06 09:51:48 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Util.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Util.js
r1695 r1700 232 232 var arVersion = navigator.appVersion.split("MSIE"); 233 233 var version = parseFloat(arVersion[1]); 234 235 return ( (document.body.filters) && 234 var filter = false; 235 236 // IEs4Lin dies when trying to access document.body.filters, because 237 // the property is there, but requires a DLL that can't be provided. This 238 // means that we need to wrap this in a try/catch so that this can 239 // continue. 240 241 try { 242 filter = document.body.filters; 243 } catch (e) { 244 } 245 246 return ( filter && 236 247 (version >= 5.5) && (version < 7) ); 237 248 }
