function click($el) {
	$el.classList.add("click");
	clearTimeout($el.dataset.timeout);
	$el.dataset.timeout = setTimeout(() => {
		$el.classList.remove("click");
	}, 300);
	const { action } = $el.dataset;
	if (!action) return;

	let { value } = $el.dataset;

	if (!value) {
		value = $el.value;
	}

	actions(action, value);
}
Executes the action associated with the button
@param {HTMLElement} $el