Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('[data-height]').each(function(){
- var baseHeight = 0;
- var target = $(this).attr('data-height');
- if( $(target).height() > baseHeight ){
- baseHeight = $(target).height();
- }
- $(this).height(baseHeight);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement