     Post.hover_info_pin null
     return
 
-  submit_event: (e) ->
+  submit_event: (e) =>
     e.stop()
     @hide()
-    Post.update_batch [ {
+    Post.update_batch [{
       id: @post_id
       tags: @container.down('#post_tags').value
       old_tags: @old_tags
-    } ], (->
+    }], =>
       notice 'Post updated'
       @hide()
       return
-    ).bind(this)
     return

export default class PostQuickEdit
  constructor: (container) ->
    @container = container
    @submit_event = @submit_event.bindAsEventListener(this)
    @container.down('form').observe 'submit', @submit_event
    @container.down('.cancel').observe 'click', ((e) ->
      e.preventDefault()
      @hide()
      return
    ).bindAsEventListener(this)
    @container.down('#post_tags').observe 'keydown', ((e) ->
      if e.keyCode == Event.KEY_ESC
        e.stop()
        @hide()

        return
      @submit_event e
      return

  show: (post_id) ->
    Post.hover_info_pin post_id
