trying SVG check that Modernizr uses, to fix Firefox 3.6 problems

remotes/origin/stable
Jan-Christoph Borchardt 13 years ago
parent b885bad2ee
commit c078966511
  1. 2
      core/js/js.js

@ -180,7 +180,7 @@ if (!Array.prototype.indexOf){
* check if the browser support svg images
*/
function SVGSupport() {
return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") || document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape", "1.0");
return !!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', "svg").createSVGRect;
}
/**

Loading…
Cancel
Save