diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-08-30 02:59:46 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-08-30 02:59:46 -0400 |
| commit | af47c4c5f5b99a4ab3f5a18a734f11f82530d778 (patch) | |
| tree | d651f09aa122213e90233ee951137f997da1c4c3 /static/js/pichat.js | |
| parent | 4f0109cba3f656fa93643295e4eb8c4f47f43271 (diff) | |
sostler prod commit
Diffstat (limited to 'static/js/pichat.js')
| -rw-r--r-- | static/js/pichat.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 4f8b47b..9287cc1 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -224,7 +224,8 @@ function buildMsgContent(content) { // isLoading doesn't get passed the right thing by $.map in addMessages function buildMessageDiv(msg, isLoading) { var nick = escapeHtml(msg.nick); -// if (nick == 'frakbuddy' && Nick != 'frakbuddy') return; + if (nick == 'frakbuddy' && Nick != 'frakbuddy') return; + if (nick == 'FAUXreal' && Nick != 'FAUXreal') return; removeOldMessages() var msgId = ('msg_id' in msg) ? 'id="message-' + msg.msg_id + '"' : ''; var loadingClass = isLoading ? ' loading' : ''; @@ -1224,13 +1225,11 @@ function onBlur() { } function titleUpdater() { - if (HasFocus || UnseenMsgCounter == 0 || $('title').text() != OrigTitle) { - $('title').text(OrigTitle); - } else { + if (UnseenMsgCounter > 0) { var plural = UnseenMsgCounter > 1 ? 's' : ''; $('title').text(UnseenMsgCounter + ' new dump' + plural + '! | ' + OrigTitle); } - setTimeout(titleUpdater, 2000); + setTimeout(titleUpdater, 4000); } function startTitleUpdater() { |
