- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 27 Sep 2010 21:36:21 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/scripts
In directory hutz:/tmp/cvs-serv23961/scripts
Modified Files:
w3c-validator.js
Log Message:
fixed setHtml function
Index: w3c-validator.js
===================================================================
RCS file: /sources/public/2002/css-validator/scripts/w3c-validator.js,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- w3c-validator.js 27 Sep 2010 21:26:47 -0000 1.6
+++ w3c-validator.js 27 Sep 2010 21:36:19 -0000 1.7
@@ -53,7 +53,7 @@
var html = legend.innerHTML;
var pid = W3C.Sections[i].id.replace(/-/g, '_');
var opt = '+with_options';
- legend.setHTML('<a href="#'+ pid + opt + '">' + html + '</a>');
+ legend.set('html', '<a href="#'+ pid + opt + '">' + html + '</a>');
var option = W3C.Options[i];
var link = legend.getFirst();
link.addEvent('click', function(event){
Received on Monday, 27 September 2010 21:36:23 UTC