From 173da1b5aec63b6e50d266cf1888d4b97292f4ea Mon Sep 17 00:00:00 2001 From: Jookia <166291@gmail.com> Date: Mon, 11 Nov 2019 17:06:57 +0000 Subject: [PATCH] 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. --- public/js/semantic.dropdown.custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/semantic.dropdown.custom.js b/public/js/semantic.dropdown.custom.js index 1745869fb..82e6efb2e 100644 --- a/public/js/semantic.dropdown.custom.js +++ b/public/js/semantic.dropdown.custom.js @@ -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 {