misc/hats_js_anim.xhtml
changeset 5779 060d7572f9f6
parent 5778 45fe3fa062b1
child 6419 6a464d0a5c13
--- a/misc/hats_js_anim.xhtml	Sun Sep 04 17:15:09 2011 -0400
+++ b/misc/hats_js_anim.xhtml	Sun Sep 04 17:26:38 2011 -0400
@@ -91,7 +91,9 @@
     var resp = xml.responseText;
     var r = />([^<]*).png</g;
     var x;
-    while(x = r.exec(resp)) masks.push(x[1]);
+    while(x = r.exec(resp)) 
+        if (!/^Team|NoHat/.test(x[1])) // Exclude team coloured ones as repetitive, NoHat one as uninteresting
+            masks.push(x[1]);
 
     var opt = document.createElement("option");
     opt.appendChild(document.createTextNode(""));