Make english dropdown a bit wider

This commit is contained in:
cuom1999 2022-11-09 21:22:51 -06:00
parent 98f8f52bde
commit ed5893a097

View file

@ -392,7 +392,8 @@ function registerPopper($trigger, $dropdown) {
$dropdown.toggle();
popper.update();
});
$dropdown.css("min-width", $trigger.width() + 'px');
$(document).on("click touchend", function(e) {
var target = $(e.target);
if (target.closest($trigger).length === 0 && target.closest($dropdown).length === 0) {