         #   and resize the frame
         if @refs.content
             frame = @refs.content.getDOMNode()
+            doc = frame.contentDocument or frame.contentWindow?.document
             loadContent = (e) =>
-                step = 0
                 doc = frame.contentDocument or frame.contentWindow?.document
                 if doc?
                     styleEl = document.createElement 'style'

    addAddress: (address) ->
        ContactActionCreator.createContact address

MessageContent = React.createClass
    displayName: 'MessageContent'


                        rich: prepared.rich
                        imagesWarning: imagesWarning
                        composing: @state.composing
                        displayImages: @displayImages
                        displayHTML: @displayHTML
                    div className: 'clearfix'
        else
            li
