diff --git a/maps/M-MGN1-3.svg b/maps/M-MGN1-3.svg index 795e190..07f2188 100644 --- a/maps/M-MGN1-3.svg +++ b/maps/M-MGN1-3.svg @@ -676,10 +676,10 @@ inkscape:label="salle-M-GN1-3-af" /> + inkscape:label="salle-M-GN1-3-ae" /> "+((salle.aliaz.length!=0)?(" ou

"+salle.aliaz.join("

ou

")+"

"):""); + titres = ((salle.aliaz.length!=0)?("

"+salle.aliaz.join("

ou

")+"

"):"Aucun alias connu."); locataires = salle.locataires.join(", "); return titres + ((salle.description!=null)?("\n
\n" + salle.description):"") + ((salle.locataires.length!=0)?("\n
\nLocataires: " + locataires):""); } @@ -68,3 +68,11 @@ function initSvgSupport() salles[i].addEventListener('click', selectSalle); } } + + +// Initialisation du svg. +var plan = document.getElementById('plan'); +if(plan.contentDocument==null) + plan.addEventListener('load', initSvgSupport); +else + initSvgSupport(); diff --git a/resources/svg.css b/resources/svg.css index 4ecfade..49dc38e 100644 --- a/resources/svg.css +++ b/resources/svg.css @@ -14,5 +14,5 @@ } .current-room { - fill: blue; + fill: rgb(100, 150, 250); }