Fix: Add missing xmlns

Change-Id: Id7c92982a914ec26990556662ba971483e58f934
This commit is contained in:
physikerwelt 2013-10-13 14:42:36 +00:00
parent baf038da0d
commit afc50961ab

View file

@ -92,6 +92,7 @@ window.engine = (new (function() {
} }
svg.style.position = 'static'; svg.style.position = 'static';
svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
tmpDiv = document.createElement('div'); tmpDiv = document.createElement('div');
tmpDiv.appendChild(svg); tmpDiv.appendChild(svg);
svg.insertBefore(defs, svg.firstChild); svg.insertBefore(defs, svg.firstChild);