From 90f3a5b141fc1e54922aa4fffcf026cfa542f2a8 Mon Sep 17 00:00:00 2001 From: andi Date: Fri, 24 Jun 2005 15:41:14 +0200 Subject: fixed problem with TOC toggle and W3C validator darcs-hash:20050624134114-9977f-4d08d9644dbc6836b55ec5c83aa6b10980a545be.gz --- lib/scripts/script.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/scripts') diff --git a/lib/scripts/script.js b/lib/scripts/script.js index 5ad930281..9d667c7af 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -289,8 +289,11 @@ function suggestWikiname(){ /** * This prints the switch to toggle the Table of Contents */ -function showTocToggle(show,hide) { +function showTocToggle(showtxt,hidetxt) { if(document.getElementById) { + show = ''+showtxt+''; + hide = ''+hidetxt+''; + document.writeln('
' + '' + '' + hide + '' -- cgit v1.2.3