From a1e9199bd86ef260fd040d02060e61497d4f1649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Wed, 29 May 2019 18:12:31 -0300 Subject: [PATCH] Rename server_status_variables.js variables to use camel case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- js/server_status_variables.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/server_status_variables.js b/js/server_status_variables.js index 6adfc99974..e3fa95b29e 100644 --- a/js/server_status_variables.js +++ b/js/server_status_variables.js @@ -62,7 +62,7 @@ AJAX.registerOnload('server_status_variables.js', function () { /* Filters the status variables by name/category/alert in the variables tab */ function filterVariables () { - var useful_links = 0; + var usefulLinks = 0; var section = text; if (categoryFilter.length > 0) { @@ -72,7 +72,7 @@ AJAX.registerOnload('server_status_variables.js', function () { if (section.length > 1) { $('#linkSuggestions').find('span').each(function () { if ($(this).attr('class').indexOf('status_' + section) !== -1) { - useful_links++; + usefulLinks++; $(this).css('display', ''); } else { $(this).css('display', 'none'); @@ -80,7 +80,7 @@ AJAX.registerOnload('server_status_variables.js', function () { }); } - if (useful_links > 0) { + if (usefulLinks > 0) { $('#linkSuggestions').css('display', ''); } else { $('#linkSuggestions').css('display', 'none');