Change location where socket is initialized...again

This commit is contained in:
Patrick Jentsch
2020-05-27 13:32:07 +02:00
parent 94d99862bd
commit ba916b70bd
2 changed files with 10 additions and 14 deletions

View File

@ -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;