diff --git a/static/conscrit.html b/static/conscrit.html
index c6b12fd..11209f1 100644
--- a/static/conscrit.html
+++ b/static/conscrit.html
@@ -112,11 +112,9 @@
markers[data.id].setIcon(self_icons[data.color]);
else
if(data.color == -1)
- markers[data.id].setOpacity(0);
- else{
- markers[data.id].setOpacity(1);
+ markers[data.id].setLatLng([0,0]);
+ else
markers[data.id].setIcon(icons[data.color]);
- }
}
});
diff --git a/static/vieilleux.html b/static/vieilleux.html
index 8c6b37d..d82d89d 100644
--- a/static/vieilleux.html
+++ b/static/vieilleux.html
@@ -114,11 +114,9 @@
markers[data.id].setIcon(self_icons[data.color]);
else
if(data.color == -1)
- markers[data.id].setOpacity(0);
- else{
- markers[data.id].setOpacity(1);
+ markers[data.id].setLatLng([0,0]);
+ else
markers[data.id].setIcon(icons[data.color]);
- }
}
});