Fixed naming.

This commit is contained in:
Christian P. MOMON 2021-01-08 03:18:18 +01:00
parent 843b8b1d46
commit d525cfcb8d

View file

@ -17,7 +17,7 @@
</div> </div>
<div style="margin-left: 0px; margin-bottom: 10px;"> <div style="margin-left: 0px; margin-bottom: 10px;">
<a id="" href="#all" class="button" onclick="javascript:setView('ALL');">Tout</a> <a id="" href="#all" class="button" onclick="javascript:setView('ALL');">Tout</a>
<a id="" href="#shrinked" class="button" onclick="javascript:setView('SHRINKED');">Réduit</a> <a id="" href="#shrunk" class="button" onclick="javascript:setView('SHRUNK');">Réduit</a>
<a id="" href="#alerts" class="button" onclick="javascript:setView('ALERTS');">Alertes</a> <a id="" href="#alerts" class="button" onclick="javascript:setView('ALERTS');">Alertes</a>
<span style="margin-left: 150px;">Statistiques : </span> <span style="margin-left: 150px;">Statistiques : </span>
@ -74,7 +74,7 @@
document.getElementById ('shrunkBlock').style.display = 'none'; document.getElementById ('shrunkBlock').style.display = 'none';
document.getElementById ('alertBlock').style.display = 'none'; document.getElementById ('alertBlock').style.display = 'none';
} }
else if (selection == 'SHRINKED') else if (selection == 'SHRUNK')
{ {
document.getElementById ('fullBlock').style.display = 'none'; document.getElementById ('fullBlock').style.display = 'none';
document.getElementById ('shrunkBlock').style.display = 'block'; document.getElementById ('shrunkBlock').style.display = 'block';