Skip to content

Instantly share code, notes, and snippets.

@jonwatson87
Created June 20, 2016 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonwatson87/3f9c350831607ebbc3b2ea45f25b760b to your computer and use it in GitHub Desktop.
Save jonwatson87/3f9c350831607ebbc3b2ea45f25b760b to your computer and use it in GitHub Desktop.
Recalculate equal height columns for Beaver Builder Accordion (in conjunction with the Equal Height Columns plugin) - useful for equal height post sidebars containing accordion/other expanding elements
jQuery( function() {
jQuery( '.fl-accordion-button' ).on( 'click', function() {
setTimeout( function() {
jQuery( window ).trigger( 'equalheights' );
}, 500);
} );
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment