Remove code about accordion in cernbase

Summary

The code about accordion in cernbase interferes with the code in the component [+/- signs]

Possible fixes

In cernbase.js, remove the code related to accordion:

  // accordion open trail
  if (jQuery('.accordion-cern').length > 0) {
    jQuery('.accordion-cern').each(function () {
      jQuery(this).find('.panel-collapse.collapse.in').parent('.panel').find('.panel-heading a').toggleClass('is-open');

      jQuery(this).find('.panel-heading a').click(function () {
        jQuery('.accordion-cern').find('.panel-heading a').removeClass('is-open');
        jQuery(this).addClass('is-open');
      })
    });
    jQuery('.accordion-cern .panel-heading a').click(function () {

      if (jQuery(this).closest('.panel').find('.panel-collapse').hasClass('in')) {
        jQuery(this).removeClass('is-open');
      }

    });

  }

Related issues

Edited by Konstantinos Platis
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information