diff --git a/app/static/js/nopaque.js b/app/static/js/nopaque.js index 69e5682c..7677b06d 100644 --- a/app/static/js/nopaque.js +++ b/app/static/js/nopaque.js @@ -201,7 +201,7 @@ nopaque.flash = function() { } -document.addEventListener("DOMContentLoaded", function() { +document.addEventListener("DOMContentLoaded", () => { // Disable all option elements with no value for (let optionElement of document.querySelectorAll('option[value=""]')) { optionElement.disabled = true; diff --git a/app/templates/nopaque.html.j2 b/app/templates/nopaque.html.j2 index 29fc59ed..baf314db 100644 --- a/app/templates/nopaque.html.j2 +++ b/app/templates/nopaque.html.j2 @@ -44,17 +44,21 @@ {% endif %} - {% if current_user.is_authenticated and current_user.setting_dark_mode %} - - {% endif %}
@@ -235,13 +239,5 @@ --> -