 
       el 'label',
         className: labelClass
-        ref: (el) => @uploadButtonContainer = el
+        ref: @uploadButtonContainer
         osu.trans 'users.show.edit.cover.upload.button'
 
       el 'div', className: 'profile-cover-uploader__info',



class ProfilePage.CoverUploader extends React.Component
  componentDidMount: =>
    $dropzone = $('.js-profile-cover-upload--dropzone')




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