         DEBUG('Danmaku: ERROR: ' + items)
         self.create(text, offline: true)
 
-  report: (target_uid) =>
+  report: (target_id) =>
     self = this
     $.ajax
       url: "//#{self.server}/report"
       dataType: 'jsonp'
       data:
-        target_uid: target_uid
+        target_id: target_id
 
   clear: =>
     self = this

$(document).on 'contextmenu', '.danmakuspan', (event) ->
  event.preventDefault()
  $self = $(event.currentTarget)
  target_uid = $self.data('uid')
  text = $self.text()
  return if not target_uid
  message = "“#{text}”\nAre you sure you want to report this danmaku?"
  option = confirm(message)
  return if option != true
  danmaku.report(target_uid)
  $self.trigger('click')

$(document).on 'ready', ->

      color: span_color
      'font-size': font_size
      'font-weight': font_weight
    ).data('id', id).appendTo($container)

    span_left_end = $span.width() * (-1)
    trajectory_length = parseInt($span.css('left'))
