From c07896651119dec79dbfbd9a05e5254aa407f49d Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Date: Tue, 16 Aug 2011 12:46:25 +0200
Subject: [PATCH] trying SVG check that Modernizr uses, to fix Firefox 3.6
 problems

---
 core/js/js.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/js/js.js b/core/js/js.js
index 3e53a8bbce..9ad9810a7e 100644
--- a/core/js/js.js
+++ b/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;
 }
 
 /**
-- 
GitLab