diff options
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 14b977b80..fb048518e 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -3,6 +3,13 @@ */ $(document).ready(function() { + //this is a hotfix to make collapsible bs panels work again. this needs fixing in bootstrap. + $('a').on('click', function(e) { + if($(this).data('toggle') == 'collapse') { + e.preventDefault(); + } + }); + // CSS3 calc() fallback (for unsupported browsers) $('body').append('<div id="css3-calc" style="width: 10px; width: calc(10px + 10px); display: none;"></div>'); if( $('#css3-calc').width() == 10) { |