jQuery height issues when content is displayed in an iFrame in FireFox
===

I am working on a calendar/schedule that requires breaks to span the full height of the containing event. The below code works great in FF/Chrome and IE. The issue arises when loading the content via an iFrame in Firefox, the height is always set to zero. The page will only display correctly when the iFrame is reloaded.

    $(window).load(function () {
        $(".event").each(function () {
            var height = $(this).height();
            $(".note, .break").each(function () {
                $(this).height(height);
            });
        });
    })

I am looking for a consistent solution or a workaround for FF so that the heights are applied correctly on first load of the iFrame.

Thanks in advance.