           window.location.hash = "\##{url}"
           false
     $content.attr 'contentEditable', 'false'
+    $body.removeClass 'editing'
     $content.off 'blur', keepFocus
-    $body.removeClass 'editing'
     $body.on 'keydown', maybeStartEditing
     $body.on 'keydown', disableSave
     $body.off 'keydown', maybeSave

  edit = (content = contentSrc) ->
    $content.html content
    $content.attr('contentEditable', 'true').focus()
    $content.on 'blur', keepFocus
    $body.addClass 'editing'
    $body.off 'keydown', disableSave
    $body.on 'keydown', maybeSave
    $body.on 'keydown', maybeCancelEditing


    lock()
    $body.off 'keydown', maybeStartEditing
    $.ajax({
      url: "tastes/#{url}"
    }).done(done).fail(fail)
