Make english dropdown a bit wider
This commit is contained in:
parent
98f8f52bde
commit
ed5893a097
1 changed files with 2 additions and 1 deletions
|
@ -392,7 +392,8 @@ function registerPopper($trigger, $dropdown) {
|
||||||
$dropdown.toggle();
|
$dropdown.toggle();
|
||||||
popper.update();
|
popper.update();
|
||||||
});
|
});
|
||||||
|
$dropdown.css("min-width", $trigger.width() + 'px');
|
||||||
|
|
||||||
$(document).on("click touchend", function(e) {
|
$(document).on("click touchend", function(e) {
|
||||||
var target = $(e.target);
|
var target = $(e.target);
|
||||||
if (target.closest($trigger).length === 0 && target.closest($dropdown).length === 0) {
|
if (target.closest($trigger).length === 0 && target.closest($dropdown).length === 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue