Skip to content

Commit

Permalink
beakerbrowser#36 Tweak copyProfileUrl to give user a shareable link w…
Browse files Browse the repository at this point in the history
…here the user's profile can be viewed
  • Loading branch information
rjcorwin committed Feb 22, 2019
1 parent 8a0531a commit 0e965b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ module.exports = class FritterApp {
}

copyProfileUrl () {
var profileUrl = document.getElementById('profile-url')
var profileUrl = `${window.location.origin}/user/${document.getElementById('profile-url')}`
profileUrl.select()
document.execCommand('copy')
}
Expand Down

0 comments on commit 0e965b5

Please sign in to comment.