[mw-devel] MW3 r1206 - trunk/webclient

dez at sucs.org dez at sucs.org
Sat Oct 9 18:23:22 BST 2010


Author: dez
Date: 2010-10-09 18:23:21 +0100 (Sat, 09 Oct 2010)
New Revision: 1206

Modified:
   trunk/webclient/mw.css
   trunk/webclient/say.js
Log:
Gives Windows a better fixed-width font choice
Resolves js error when login page is displayed
Reduces idle time for the who list to half an hour


Modified: trunk/webclient/mw.css
===================================================================
--- trunk/webclient/mw.css	2010-10-09 16:49:14 UTC (rev 1205)
+++ trunk/webclient/mw.css	2010-10-09 17:23:21 UTC (rev 1206)
@@ -3,7 +3,7 @@
 }
 
 #textlist, #sayit, #textlist table {
-	font-family: Monaco, monospace;
+	font-family: Monaco, "Lucida Sans Typewriter", "Lucida Console", monospace;
 	font-size: 10pt;
 }
 

Modified: trunk/webclient/say.js
===================================================================
--- trunk/webclient/say.js	2010-10-09 16:49:14 UTC (rev 1205)
+++ trunk/webclient/say.js	2010-10-09 17:23:21 UTC (rev 1206)
@@ -80,7 +80,7 @@
 			}
 		}
 		var objDiv = document.getElementById("textlist");
-		objDiv.scrollTop = objDiv.scrollHeight;
+		if (objDiv!=null) objDiv.scrollTop = objDiv.scrollHeight;
 		return tmo;
 	}
 
@@ -188,7 +188,7 @@
 	data.sort(sortWho);
 	for (person in data) {
 		idleness="";
-		if (data[person].idle>3600) idleness=" idle";
+		if (data[person].idle>1800) idleness=" idle";
 		$("#wholist").append("<li class=\"who"+idleness+"\" id=\"who_"+data[person].username+"\">"+data[person].username+"</li");
 	}
 }




More information about the mw-devel mailing list