diff options
Diffstat (limited to 'public/static/js/collapse.js')
-rw-r--r-- | public/static/js/collapse.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/public/static/js/collapse.js b/public/static/js/collapse.js index 3dcb2e6..0d12fca 100644 --- a/public/static/js/collapse.js +++ b/public/static/js/collapse.js @@ -122,8 +122,10 @@ $(function() { }); }); $('.moreinfo').click(function() { - $(this).removeClass('expanded-moreinfo'); - $(this).addClass('collapsed-moreinfo'); + if (!$(this).data('static')) { + $(this).removeClass('expanded-moreinfo'); + $(this).addClass('collapsed-moreinfo'); + } }); dbf_reg_handlers(); if ($('.content .app').length) { |