Created
June 20, 2016 23:23
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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