summaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js')
-rw-r--r--static/js/invalid_domains.js2
-rw-r--r--static/js/pichat.js9
2 files changed, 5 insertions, 6 deletions
diff --git a/static/js/invalid_domains.js b/static/js/invalid_domains.js
index bdddf26..ea1c1c5 100644
--- a/static/js/invalid_domains.js
+++ b/static/js/invalid_domains.js
@@ -64,7 +64,7 @@ var InvalidDomains = [
"http://fortunecity.com",
"http://geneology2.com",
"http://www.geneology2.com",
- "genealogy2.com",
+ "genealogy2.com",
"http://img.waffleimages.com",
"http://www.worldofstock.com",
"http://aphrodite.cooltext.com",
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() {