make codacy a bit happier

This commit is contained in:
El RIDO
2019-09-19 19:47:19 +02:00
parent 8e27dbff15
commit 955317d924
3 changed files with 5 additions and 3 deletions

View File

@@ -220,7 +220,9 @@
function removeHiddenFromId(id)
{
var element = document.getElementById(id);
if (element) element.className = element.className.replace(/\bhidden\b/g, '');
if (element) {
element.className = element.className.replace(/\bhidden\b/g, '');
}
}
/**