- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 06 Oct 2009 15:55:12 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/scripts In directory hutz:/tmp/cvs-serv7158/WebContent/scripts Modified Files: w3c_unicorn_languages.js Log Message: does not display title above the tooltip Index: w3c_unicorn_languages.js =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/scripts/w3c_unicorn_languages.js,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- w3c_unicorn_languages.js 5 Oct 2009 13:47:28 -0000 1.1 +++ w3c_unicorn_languages.js 6 Oct 2009 15:55:10 -0000 1.2 @@ -5,10 +5,12 @@ var tdOk = $$('#translations td.ok'); tdOk.each(function(element) { - element.store('tip:text', element.getElement('span').title); + var span = element.getElement('span'); + element.store('tip:text', span.title); + span.removeProperty('title'); }); - new Tips($$('#translations td.ok')); + new Tips(tdOk); }
Received on Tuesday, 6 October 2009 15:55:16 UTC