diff --git a/website/web/static/capture.js b/website/web/static/capture.js index 0d380b0f..6aa90cc7 100644 --- a/website/web/static/capture.js +++ b/website/web/static/capture.js @@ -91,13 +91,6 @@ document.querySelectorAll('select[name="browser"]').forEach( function(element) let osSelect = document.getElementById("os"); let os_name = osSelect.options[osSelect.selectedIndex].value.replace(/(:|\.|\[|\]|,|=|\\)/g, "\\$1").replace(/ /g, "_"); - // unselect every browser select here (unknown reason) - document.querySelectorAll(".style-sub-1 > label > span > select").forEach(function (select) { - select.querySelectorAll('option').forEach(function (option) { - option.removeAttribute('selected'); - }); - }); - // Hide and disable every useragent document.querySelectorAll(".style-sub-2").forEach(function (element) { element.style.display = 'none';