From 9fa89002cd6941682b06a7e9f40c83880cf5e193 Mon Sep 17 00:00:00 2001 From: Jookia <166291@gmail.com> Date: Mon, 11 Nov 2019 18:47:43 +1100 Subject: [PATCH] js: Revert change to click behaviour in forceSelection 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 1745869fbfd03..82e6efb2ec8f8 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 {