Skip to content

Node.js based forum software built for the modern web

chore: up themes, dont send typing on page load

Barış Soner Uşaklı45ed12c50045
diff --git a/install/package.json b/install/package.json
index fa9e9e3556..f7bdf5d041 100644
--- a/install/package.json
+++ b/install/package.json
@@ -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",
diff --git a/public/src/client/chats.js b/public/src/client/chats.js
index 140f64c036..c6f967deb0 100644
--- a/public/src/client/chats.js
+++ b/public/src/client/chats.js
@@ -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());