Skip to content

Commit

Permalink
Auto-link onblur (fixes tiff#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiff committed Jul 16, 2012
1 parent 5c11fd9 commit c653cfc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/composer.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@
dom.autoLink(endContainer.parentNode);
});
});

dom.observe(this.element, "blur", function() {
dom.autoLink(that.element);
});
}

// Assuming we have the following:
Expand Down

0 comments on commit c653cfc

Please sign in to comment.