diff --git a/src/main/resources/static/js/customSelect.js b/src/main/resources/static/js/customSelect.js index 863a84a83ddba4b6db1b6f45383581b17420a5e6..e192cca63b52fb4c9a5df2b9297d1f195846f350 100644 --- a/src/main/resources/static/js/customSelect.js +++ b/src/main/resources/static/js/customSelect.js @@ -115,7 +115,7 @@ class CustomSelect for(const option of document.querySelectorAll(this.selector + ' .custom-select-option')) { - option.addEventListener('click', function(event) + option.addEventListener('mousedown', function(event) { self.confirmItem(this); event.stopPropagation();