From 955317d92423b02ce1dfe9aa8dac334b3c629d20 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Thu, 19 Sep 2019 19:47:19 +0200 Subject: [PATCH] make codacy a bit happier --- js/legacy.js | 4 +++- tpl/bootstrap.php | 2 +- tpl/page.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/js/legacy.js b/js/legacy.js index 1d162b55..f1c90266 100644 --- a/js/legacy.js +++ b/js/legacy.js @@ -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, ''); + } } /** diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index fe711fa0..65aaad4c 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -71,7 +71,7 @@ if ($MARKDOWN): endif; ?> - +