W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/WebContent/scripts w3c_unicorn_results.js,1.11,1.12

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 29 Sep 2009 09:53:50 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MsZP4-0005Ee-4g@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/scripts
In directory hutz:/tmp/cvs-serv20108/WebContent/scripts

Modified Files:
	w3c_unicorn_results.js 
Log Message:
fixed keyword 'class' made the script freeze on safari, opera, and ie

Index: w3c_unicorn_results.js
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/scripts/w3c_unicorn_results.js,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- w3c_unicorn_results.js	25 Sep 2009 14:11:08 -0000	1.11
+++ w3c_unicorn_results.js	29 Sep 2009 09:53:48 -0000	1.12
@@ -11,7 +11,7 @@
 		
 		$$('.title').each(function(title) {
 			title.addClass('pointer');
-			var iconHolder = new Element('span', {class: 'arrow'});
+			var iconHolder = new Element('span', {'class': 'arrow'});
 			var a;
 			if (title.getElement('span.icons') != null)
 				a = title.getElement('span.icons');
Received on Tuesday, 29 September 2009 09:53:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT