mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 14:35:40 +00:00
js: Revert change to click behaviour in forceSelection (#8921)
Calling .click() in forceSelection() in blur() causes a focus loop, this needs a proper fix later but for now just revert the change.
This commit is contained in:
parent
561044e422
commit
173da1b5ae
|
@ -997,7 +997,7 @@ $.fn.dropdown = function(parameters) {
|
|||
;
|
||||
if(hasSelected && !module.is.multiple()) {
|
||||
module.debug('Forcing partial selection to selected item', $selectedItem);
|
||||
$selectedItem[0].click();
|
||||
module.event.item.click.call($selectedItem, {}, true);
|
||||
return;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue