diff --git a/templates/editprofile.html b/templates/editprofile.html index 9e1992c..c7f5e48 100644 --- a/templates/editprofile.html +++ b/templates/editprofile.html @@ -240,6 +240,13 @@

{{title_value}}

let prefErrorBox = document.getElementById('prefErrorBox'); + let initiallyActiveButtons = document.getElementsByClassName('active-button'); + + if(initiallyActiveButtons.length > 0) + matchPrefOptionSelected = true; + + + function registerSelectedMatchPref () {