if app is not focused and chat message comes in, activate alternatingTitle. closes #620

This commit is contained in:
psychobunny
2013-12-08 10:40:02 -05:00
parent 932b960aa9
commit a475e38078

View File

@@ -224,6 +224,9 @@
chat.load(modal.attr('UUID'));
} else {
chat.toggleNew(modal.attr('UUID'), true);
}
if (!modal.is(":visible") || !app.isFocused) {
app.alternatingTitle(data.username + ' has messaged you');
}
} else {