diff options
Diffstat (limited to 'public/static/collapse.js')
-rw-r--r-- | public/static/collapse.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/public/static/collapse.js b/public/static/collapse.js index 373870c..bdfaa9f 100644 --- a/public/static/collapse.js +++ b/public/static/collapse.js @@ -52,4 +52,21 @@ $(document).ready(function() { } }); }); + $('.developers-header').each(function() { + $(this).click(function() { + var developers = $('.developers'); + if ($(this).hasClass('developers-header-collapsed')) { + $(this).removeClass('developers-header-collapsed'); + $(this).addClass('developers-header-expanded'); + developers.removeClass('developers-collapsed'); + developers.addClass('developers-expanded'); + } + else { + $(this).removeClass('developers-header-expanded'); + $(this).addClass('developers-header-collapsed'); + developers.removeClass('developers-expanded'); + developers.addClass('developers-collapsed'); + } + }); + }); }); |