chore: up themes, dont send typing on page load

This commit is contained in:
Barış Soner Uşaklı
2023-09-02 21:47:12 -04:00
parent 600357444d
commit 45ed12c500
2 changed files with 3 additions and 3 deletions

View File

@@ -102,10 +102,10 @@
"nodebb-plugin-ntfy": "1.5.0",
"nodebb-plugin-spam-be-gone": "2.1.1",
"nodebb-rewards-essentials": "0.2.3",
"nodebb-theme-harmony": "1.1.51",
"nodebb-theme-harmony": "1.1.52",
"nodebb-theme-lavender": "7.1.3",
"nodebb-theme-peace": "2.1.18",
"nodebb-theme-persona": "13.2.26",
"nodebb-theme-persona": "13.2.27",
"nodebb-widget-essentials": "7.0.13",
"nodemailer": "6.9.4",
"nprogress": "0.2.0",

View File

@@ -325,7 +325,7 @@ define('forum/chats', [
});
}
textarea.on('focus', () => emitTyping(!!textarea.val()));
textarea.on('focus', () => textarea.val() && emitTyping(true));
textarea.on('blur', () => emitTyping(false));
textarea.on('input', utils.throttle(function () {
emitTyping(!!textarea.val());