Update TA button's logic & layout in the Guide Menu

This commit is contained in:
redphx
2024-09-06 18:07:13 +07:00
parent 756d105f74
commit 421af05882
4 changed files with 116 additions and 16 deletions

View File

@@ -180,3 +180,10 @@ export function clearFocus() {
document.activeElement.blur();
}
}
export function clearDataSet($elm: HTMLElement) {
Object.keys($elm.dataset).forEach(key => {
delete $elm.dataset[key];
});
}