Skip to content

Commit 173da1b

Browse files
Jookiazeripath
authored andcommitted
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.
1 parent 561044e commit 173da1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/js/semantic.dropdown.custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ $.fn.dropdown = function(parameters) {
997997
;
998998
if(hasSelected && !module.is.multiple()) {
999999
module.debug('Forcing partial selection to selected item', $selectedItem);
1000-
$selectedItem[0].click();
1000+
module.event.item.click.call($selectedItem, {}, true);
10011001
return;
10021002
}
10031003
else {

0 commit comments

Comments
 (0)