[mirotalksfu] - #217 fix typo
هذا الالتزام موجود في:
@@ -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 = () => {
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم