         enterEditMode.call(this, url)
   )
   ScribeDOM.addEventListener(@tooltipChange, 'click', =>
-    enterEditMode.call(this, @tooltipLink.innerText)
+    enterEditMode.call(this, ScribeDOM.getText(@tooltipLink))
   )
   ScribeDOM.addEventListener(@tooltipDone, 'click', =>
     exitEditMode.call(this)

    link = event.target
    while link? and link.tagName != 'DIV' and link.tagName != 'BODY'
      if link.tagName == 'A'
        @tooltipLink.innerText = @tooltipLink.href = link.href
        ScribeDOM.removeClass(@tooltip, 'editing')
        showTooptip.call(this, link.getBoundingClientRect())
        return

  @tooltipInput.value = url

exitEditMode = ->
  if ScribeDom.getText(@tooltipLink) != @tooltipInput.value
    @tooltipLink.href = @tooltipInput.value
    ScribeDOM.setText(@tooltipLink, @tooltipInput.value)
    formatLink.call(this, @tooltipInput.value)
