emoji button and a lot of bug fixes

This commit is contained in:
MathMan05
2025-04-05 20:55:18 -05:00
parent a33755f6ae
commit fbd7c38f44
6 changed files with 182 additions and 45 deletions

View File

@@ -267,4 +267,11 @@ import {I18n} from "./i18n.js";
}
};
};
const emojiTB = document.getElementById("emojiTB") as HTMLElement;
emojiTB.onmousedown = (e) => {
e.preventDefault();
e.stopImmediatePropagation();
thisUser.TBEmojiMenu(emojiTB.getBoundingClientRect());
};
emojiTB.onclick = (e) => e.stopImmediatePropagation();
})();