createDropdown(event.detail.span)} on:click={activateDropdown} > {@html gearIcon} { revert(); // Otherwise the menu won't close when the item is clicked // TODO: investigate why this is necessary activateDropdown(); }} > {tr.deckConfigRevertButtonTooltip()}{@html revertIcon}