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

2006/unicorn/WebContent/scripts w3c_unicorn_index.js,1.3,1.4

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 31 Aug 2009 15:30:08 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mi8pc-0008L4-0y@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/scripts
In directory hutz:/tmp/cvs-serv32011/WebContent/scripts

Modified Files:
	w3c_unicorn_index.js 
Log Message:
foldable error message

Index: w3c_unicorn_index.js
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/scripts/w3c_unicorn_index.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- w3c_unicorn_index.js	31 Aug 2009 15:00:15 -0000	1.3
+++ w3c_unicorn_index.js	31 Aug 2009 15:30:05 -0000	1.4
@@ -64,11 +64,10 @@
 			W3C.TaskDescrip.set('text', W3C.TaskOptions[W3C.SelectedTask].title);
 		});
 		
-		$$('div.error').addClass('pointer');
-		
 		$$('div.error pre').slide('hide');
 		
 		$$('div.error').each(function(error) {
+			error.addClass('pointer');
 			error.addEvent('click', function(event) {
 				error.getElement('pre').slide('toggle');
 			});
Received on Monday, 31 August 2009 15:30:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC