diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php index 3224773..7ffdf4a 100755 --- a/resources/views/layouts/sidebar.blade.php +++ b/resources/views/layouts/sidebar.blade.php @@ -608,9 +608,11 @@ MODAL; // <-- Indentation breaks my code editor :/ document.getElementById('beta-version').textContent = Vbeta; var updateElements = document.getElementsByClassName('update-icon-update'); + var normalElements = document.getElementsByClassName('update-icon-normal'); for (var i = 0; i < updateElements.length; i++) { updateElements[i].style.display = isVisible ? 'block' : 'none'; + normalElements[i].style.display = 'none'; } } @@ -632,6 +634,7 @@ MODAL; // <-- Indentation breaks my code editor :/ for (var i = 0; i < updateElements.length; i++) { updateElements[i].style.display = isVisible ? 'block' : 'none'; + normalElements[i].style.display = 'none'; } for (var i = 0; i < normalElements.length; i++) { @@ -657,7 +660,7 @@ MODAL; // <-- Indentation breaks my code editor :/ -