Browse Source

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.
master
Jookia zeripath 5 years ago
parent
commit
173da1b5ae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/js/semantic.dropdown.custom.js

+ 1
- 1
public/js/semantic.dropdown.custom.js View File

@@ -997,7 +997,7 @@ $.fn.dropdown = function(parameters) {
; ;
if(hasSelected && !module.is.multiple()) { if(hasSelected && !module.is.multiple()) {
module.debug('Forcing partial selection to selected item', $selectedItem); module.debug('Forcing partial selection to selected item', $selectedItem);
$selectedItem[0].click();
module.event.item.click.call($selectedItem, {}, true);
return; return;
} }
else { else {


Loading…
Cancel
Save