summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index dad6dfb97..aa8d90897 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -70,12 +70,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
global $lang;
$this->doc .= '<div class="toc">'.DOKU_LF;
$this->doc .= '<div class="tocheader">';
-/* The (+/-) version will work too but needs some CSS tweaking to look fine */
-/* $this->doc .= ' <script type="text/javascript">showTocToggle("+","-")';*/
- $this->doc .= '<script type="text/javascript">showTocToggle(';
- $this->doc .= '\'<img src="'.DOKU_BASE.'lib/images/arrow_down.gif">\',';
- $this->doc .= '\'<img src="'.DOKU_BASE.'lib/images/arrow_up.gif">\')';
- $this->doc .= '</script>';
+ $this->doc .= ' <script type="text/javascript">showTocToggle("+","-")</script>';
$this->doc .= $lang['toc'];
$this->doc .= '</div>'.DOKU_LF;
$this->doc .= '<div id="tocinside">'.DOKU_LF;