 
 
 class ProfilePage.CoverUploader extends React.Component
+  constructor: (props) ->
+    super props
+
+    @uploadButtonContainer = React.createRef()
+
+
   componentDidMount: =>
     $dropzone = $('.js-profile-cover-upload--dropzone')
 



  $uploadButton: =>
    $(@uploadButtonContainer).find('.js-profile-cover-upload')


      el 'label',
        className: labelClass
        ref: @uploadButtonContainer
        osu.trans 'users.show.edit.cover.upload.button'

      el 'div', className: 'profile-cover-uploader__info',
