[mirotalksfu] - #217 fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2025-07-16 18:08:00 +02:00
الأصل 927d90d070
التزام 09e8199e9d

عرض الملف

@@ -3079,7 +3079,7 @@ function handleInputs() {
}
};
chatMessage.oninput = function () {
if (!isChatPasteTxt) {
if (isChatPasteTxt) return;
const chatInputEmoji = {
'<3': '❤️',
'</3': '💔',
@@ -3137,9 +3137,7 @@ function handleInputs() {
);
// Replace matching patterns with corresponding emojis
this.value = this.value.replace(regexPattern, (match) => chatInputEmoji[match]);
}
rc.checkLineBreaks();
isChatPasteTxt = false; // Reset after handling
};
chatMessage.onpaste = () => {