Ticket #722: svg_support.patch.diff
| File svg_support.patch.diff, 0.8 kB (added by pgiraud, 2 years ago) |
|---|
-
/home/pierre/cvs-c2c/openlayers/lib/OpenLayers/Renderer/SVG.js
old new 50 50 */ 51 51 supported: function() { 52 52 var svgFeature = "http://www.w3.org/TR/SVG11/feature#SVG"; 53 var supported = (document.implementation.hasFeature("org.w3c.svg", "1.0") || document.implementation.hasFeature(svgFeature, "1.1")); 53 var supported = (document.implementation && 54 (document.implementation.hasFeature("org.w3c.svg", "1.0") || 55 document.implementation.hasFeature(svgFeature, "1.1"))); 54 56 return supported; 55 57 }, 56 58
