#104414Sortable select items: JS - allow for button-tags and remove dead code
Description
The current implementation only allows a-tags/@HTMLAnchorElement@
This adds button-tags/@HTMLButtonElement@
Actually right now there is no implication of defining either one, as the defined types do not become part of the generated JS-code.
Also some dead code that had no functional implication is removed:
@event.target.closest(‘.t3js-btn-option’)@ already implies the element itself , so no need to check for e.target.matches('.t3js-btn-option')