From 9b8caedbb2abdbb4f5e3a8e4640db17e1f4d9166 Mon Sep 17 00:00:00 2001 From: Seth Call Date: Mon, 3 Mar 2014 23:34:00 -0600 Subject: [PATCH] * VRFS-1309 - Edit link erroneously shown on non-you profiles --- web/app/assets/javascripts/profile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/app/assets/javascripts/profile.js b/web/app/assets/javascripts/profile.js index e577b7826..4d21a70ab 100644 --- a/web/app/assets/javascripts/profile.js +++ b/web/app/assets/javascripts/profile.js @@ -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 {