Jump to content

MediaWiki talk:Gadget-addsection-plus.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Nihiltres (talk | contribs) at 20:46, 19 April 2008 (editprotected done). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

{{editprotected}}

Please replace:

if(tablink.textContent) tablink.textContent = '+';
else if(tablink.innerHTML) tablink.innerHTML = '+';

with:

tablink.firstChild.nodeValue = '+';

as it's cross-browser, less complicated, and part of the W3 core DOM-1 spec. innerHTML with XHTML can be messy. Thanks, GracenotesT § 19:42, 19 April 2008 (UTC)[reply]

Y Done - Nihiltres{t.l} 20:46, 19 April 2008 (UTC)[reply]