Reformat js
[exim-website.git] / templates / web / doc / index.js
index c656046af923c51917ee05089dcdce2d73ce49e0..0a8737a3406c31c465528295152b81a6261b3327 100644 (file)
@@ -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