trying SVG check that Modernizr uses, to fix Firefox 3.6 problems
This commit is contained in:
parent
b885bad2ee
commit
c078966511
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue