     return
 
 
-  remove: (e) ->
+  remove: (e) =>
     if notesManager.debug
       console.debug 'Note#remove (id=%d)', @id
     @hideEditBox e

      @bodyfit = true
      @elements.body.style.height = '100px'
    # Attach the event listeners
    @elements.box.observe 'mousedown', @dragStart.bindAsEventListener(this)
    @elements.box.observe 'mouseout', @bodyHideTimer.bindAsEventListener(this)
    @elements.box.observe 'mouseover', @bodyShow.bindAsEventListener(this)
    @elements.corner.observe 'mousedown', @resizeStart.bindAsEventListener(this)
    @elements.body.observe 'mouseover', @bodyShow.bindAsEventListener(this)
    @elements.body.observe 'mouseout', @bodyHideTimer.bindAsEventListener(this)
    @elements.body.observe 'click', @showEditBox.bindAsEventListener(this)
    @adjustScale()



    return


  dragStart: (e) =>
    if notesManager.debug
      console.debug 'Note#dragStart (id=%d)', @id
    @addDocumentObserver 'mousemove', @drag
    @addDocumentObserver 'mouseup', @dragStop
    @addDocumentObserver 'selectstart', ->
      false
    @cursorStartX = e.pointerX()
