     .always LoadingOverlay.hide
 
 
-  submitButton: (type) ->
+  submitButton: (type) =>
     el BigButton,
       key: type
       modifiers: ['beatmap-discussion']

                  onClick: @post


  setTimestamp: (e) ->
    @setState timestamp: e.currentTarget.value


  setMessage: (e) ->
    if @props.mode == 'timeline'
      callback = @parseTimestamp

    @setState message: e.currentTarget.value, callback


  post: (e) ->
    return unless @validPost()

    @postXhr?.abort()

      true


  parseTimestamp: =>
    timestampRe = @state.message.match /\b(\d{2,}):(\d{2})[:.](\d{3})\b/

    @setState timestamp:
