Skip to content

Commit

Permalink
Link embedded selfies to this repo, for self promotion.
Browse files Browse the repository at this point in the history
This fixes #48.
  • Loading branch information
bhollis committed Dec 20, 2015
1 parent 8366fb2 commit d3e0fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/selfie-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ GitHubSelfies.prototype = {

this.textarea.val(
this.textarea.val()
.replace(toReplace, '![selfie-' + number + '](' + link + ')'));
.replace(toReplace, '[![selfie-' + number + '](' + link + ')](https://github.com/thieman/github-selfies/)'));
this.textarea.focus();
this.textarea.get(0)
.setSelectionRange(this.textarea.textLength, this.textarea.textLength);
Expand Down

0 comments on commit d3e0fc9

Please sign in to comment.