From 28ad60f892f1cdebe704e4bc1aa964d3366f4dcf Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 28 Mar 2017 19:29:42 +0200 Subject: some fixes for latest bs-dev --- view/theme/redbasic/js/redbasic.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'view/theme/redbasic/js') diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 14b977b80..4d9a1d6cc 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 templates. + $('a').on('click', function(e) { + if($(this).data('toggle') == 'collapse') { + e.preventDefault(); + } + }); + // CSS3 calc() fallback (for unsupported browsers) $('body').append(''); if( $('#css3-calc').width() == 10) { -- cgit v1.2.3