From 0c28d18cee3f623d86caf4eccb71403831ca6064 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Tue, 25 May 2010 02:23:27 -0400 Subject: sostler prod commit --- static/js/pichat.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'static/js') diff --git a/static/js/pichat.js b/static/js/pichat.js index 84a9b79..dbe58ac 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -976,7 +976,7 @@ function parseDomain(host){ // Away notification var UnseenMsgCounter = 0; -var OrigTitle = $('title').text(); +var OrigTitle = ""; var HasFocus = true; function onFocus() { @@ -1004,3 +1004,7 @@ function startTitleUpdater() { $(window).focus(onFocus); setTimeout(titleUpdater, 2000); } + +$(function() { + OrigTitle = $('title').text(); +}); \ No newline at end of file -- cgit v1.2.3-70-g09d2