* VRFS-1309 - Edit link erroneously shown on non-you profiles

This commit is contained in:
Seth Call 2014-03-03 23:34:00 -06:00
parent 90f18a671a
commit 9b8caedbb2
1 changed files with 4 additions and 0 deletions

View File

@ -377,10 +377,14 @@
$bioTextArea.val(user.biography);
if(user.biography) {
$showBio.show();
if(isCurrentUser()) {
$editBiographyButton.show();
}
else {
$editBiographyButton.hide();
}
$biographyText.text(user.biography).show();
}
else {