diff --git a/js/control/Profile.js b/js/control/Profile.js index 8dba682..2c17ccd 100644 --- a/js/control/Profile.js +++ b/js/control/Profile.js @@ -260,6 +260,9 @@ BR.Profile = L.Evented.extend({ Object.keys(paramValues).forEach(function(paramValue) { var option = document.createElement('option'); option.value = paramValue; + if (paramValue == params[param].value) { + option.selected = true; + } option.append(paramValues[paramValue]); select.appendChild(option); });