Put default line height back to 2, chapter to 1.5
[exim-website.git] / templates / web / doc / index.js
index 9ba9546174ea654bf1f1636990a001c30314b9ae..0a8737a3406c31c465528295152b81a6261b3327 100644 (file)
@@ -1,18 +1,11 @@
-$('#chapters')
-       .addClass('expandable')
-       .find('.button')
-       .click(function(){
-               $(this).parent().toggleClass('open');
-       });
-
-$('#options img.expand')
-       .click(function(){
-               $('.chapter').addClass('open')
-       });
-
-$('#options img.collapse')
-       .click(function(){
-               $('.chapter').removeClass('open')
-       });
-
-$('#options').removeClass('hidden');
+// Add the expand/collapse functionality
+$('#chapters').addClass('expandable').find('.button').click(function () {
+    $(this).parent().toggleClass('open');
+});
+$('#options img.expand').click(function () {
+    $('.chapter').addClass('open');
+});
+$('#options img.collapse').click(function () {
+    $('.chapter').removeClass('open')
+});
+$('#options').removeClass('hidden');
\ No newline at end of file