about summary refs log tree commit diff
path: root/src/log2xml/log2html.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/log2xml/log2html.xsl')
-rw-r--r--src/log2xml/log2html.xsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/log2xml/log2html.xsl b/src/log2xml/log2html.xsl
index cb56a3cb4bf8..667eb5998135 100644
--- a/src/log2xml/log2html.xsl
+++ b/src/log2xml/log2html.xsl
@@ -7,6 +7,7 @@
   <xsl:template match="logfile">
     <html>
       <head>
+        <script type="text/javascript" src="treebits.js" />
         <link rel="stylesheet" href="logfile.css" type="text/css" />
         <title>Log File</title>
       </head>
@@ -23,6 +24,7 @@
   </xsl:template>
 
   <xsl:template match="nest">
+    <script type='text/javascript'>showTreeToggle("show","hide")</script>
     <xsl:apply-templates select='head'/>
     <ul class='nesting'>
       <xsl:for-each select='line|nest'>