- /* Need to equalize 2 quote blocks on homepage */
- $(document).ready(function() {
- var quotes = $('.cms-home .quotes blockquote');
- var max = 0;
- quotes.each(function(i){
- if ($(this).innerHeight() > max) {
- max = $(this).innerHeight();
- }
- });
- quotes.each(function(i){
- padding = parseInt($(this).css('paddingTop')) + parseInt($(this).css('paddingBottom'));
- $(this).height(max - padding);
- });
- });