diff options
Diffstat (limited to 'cpp/src/slice2html/Gen.cpp')
-rw-r--r-- | cpp/src/slice2html/Gen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp index 9047ad691e2..0e12d9f78b7 100644 --- a/cpp/src/slice2html/Gen.cpp +++ b/cpp/src/slice2html/Gen.cpp @@ -1358,16 +1358,16 @@ TOCGenerator::TOCGenerator(const Files& files, const string& header, const strin _out << "Index"; end(); - start("table", "ExpandCollapseButton"); + start("table", "ExpandCollapseButtonTable"); start("tbody"); start("tr"); start("td"); - _out << "<button type=\"button\" id=\"ExpandAllButton\">Expand All</button>"; + _out << "<button type=\"button\" id=\"ExpandAllButton\" onclick=\"expandAll();\">Expand All</button>"; end(); start("td"); - _out << "<button type=\"button\" id=\"CollapseAllButton\">Collapse All</button>"; + _out << "<button type=\"button\" id=\"CollapseAllButton\" onclick=\"expandAll();\">Collapse All</button>"; end(); end(); |