mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
Only alternate title when not focused
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user