diff --git a/web/app/static/js/nopaque.js b/web/app/static/js/nopaque.js
index 2fe9a756..35ceac83 100644
--- a/web/app/static/js/nopaque.js
+++ b/web/app/static/js/nopaque.js
@@ -220,22 +220,22 @@ nopaque.flash = function() {
`});
toastActionElement = toast.el.querySelector('.toast-action[data-action="close"]');
if (toastActionElement) {
- toastActionElement.addEventListener("click", function() {
+ toastActionElement.addEventListener('click', function() {
toast.dismiss();
});
}
}
-document.addEventListener("DOMContentLoaded", () => {
+document.addEventListener('DOMContentLoaded', () => {
// Disable all option elements with no value
for (let optionElement of document.querySelectorAll('option[value=""]')) {
optionElement.disabled = true;
}
M.AutoInit();
M.CharacterCounter.init(document.querySelectorAll('input[data-length][type="text"]'));
- M.Dropdown.init(document.querySelectorAll("#nav-notifications, #nav-account"),
- {alignment: "right", constrainWidth: false, coverTrigger: false});
+ M.Dropdown.init(document.querySelectorAll('#nav-notifications, #nav-account'),
+ {alignment: 'right', constrainWidth: false, coverTrigger: false});
nopaque.Forms.init();
nopaque.Navigation.init();
while (nopaque.flashedMessages.length) {
diff --git a/web/app/templates/nopaque.html.j2 b/web/app/templates/nopaque.html.j2
index d2036d6d..58b532e6 100644
--- a/web/app/templates/nopaque.html.j2
+++ b/web/app/templates/nopaque.html.j2
@@ -17,8 +17,8 @@
{% set parallax = False %}
{% endif %}
-{% set nopaque_primary_color = '#00426f' %}
-{% set nopaque_secondary_color = '#b1b3b4' %}
+{% set primary_color = '#00426f' %}
+{% set secondary_color = '#b1b3b4' %}
{% set corpus_analysis_color = '#aa9cc9' %}
{% set corpus_analysis_color_darken = '#6b3f89' %}
@@ -57,6 +57,9 @@
- {% if current_user.is_authenticated %}
-
- {% endif %}
@@ -112,11 +102,11 @@