I wrote a jQuery script which keeps two images side by the same height. It needs to work on document load and document resize as the images are responsive.
I thought this woas the best solution (code below), but it only works when I resize the browser?
function projectRowHeight() {
var rowHeight = $('#projects').find('.col-33 img').height();
$('#projects').find('.row').css('height', rowHeight);
}
$(document).ready(projectRowHeight);
$(window).resize(projectRowHeight);