feat: add utils to create and remove the context menu

This commit is contained in:
SauceyRed 2025-07-10 23:57:25 +02:00
parent 0ea9c8f168
commit b51efc01e9
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,6 @@
export default () => {
const contextMenu = document.getElementById("context-menu");
if (contextMenu) {
contextMenu.remove();
}
}