require(["jquery"],function(a){var b=function(){a(".xwiki-select").find(".xwiki-select-option").click(function(){var e=a(this);var d=e.find("input");if(d.prop("checked")){return}d.prop("checked",true);var c=e.parents(".xwiki-select");c.find(".xwiki-select-option-selected").removeClass("xwiki-select-option-selected");e.addClass("xwiki-select-option-selected");c.trigger("xwiki:select:updated",{elements:c[0]})})};a(window).ready(b)});