Skip to content

Node.js based forum software built for the modern web

Only alternate title when not focused

MrWafflec1fea52a93a0
diff --git a/public/src/app.js b/public/src/app.js
index 99b4b29615..7c78e6e26f 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -407,7 +407,7 @@ var socket,
return;
}
- if (title.length > 0) {
+ if (title.length > 0 && !app.isFocused) {
titleObj.titles[1] = title;
if (titleObj.interval) {
clearInterval(titleObj.interval);