X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/c71e2d2b5ca84ba97f05ea6b314b594da31fec4a..52b33ebd755ffe58ffa039c47ba2538a9c6af6f3:/templates/web/doc/index.js diff --git a/templates/web/doc/index.js b/templates/web/doc/index.js index c656046..0a8737a 100644 --- a/templates/web/doc/index.js +++ b/templates/web/doc/index.js @@ -1,10 +1,11 @@ // 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'); +$('#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