                             doc.body.removeEventListener 'load', loadContent
                             frame.contentWindow?.removeEventListener 'resize'
 
-                    frame.style.height = "32px"
                     updateHeight()
                     setTimeout updateHeight, 1000
                     doc.body.onload = updateHeight

                                onClick: @props.displayImages,
                                t 'message images display'
                iframe
                    'data-message-id': @props.message.get 'id'
                    name: "frame-#{@props.message.get 'id'}"
                    className: 'content',
                    ref: 'content',
                    allowTransparency: true,

            else
                loadContent()
        else
            window.cozyMails.customEvent "MESSAGE_LOADED", @props.messageID


    componentDidMount: ->
