diff --git a/views/stories/comments.jade b/views/stories/comments.jade
index ae2b051d06..a47a969c95 100644
--- a/views/stories/comments.jade
+++ b/views/stories/comments.jade
@@ -22,8 +22,10 @@
commentDetails = data;
var div = document.createElement('div');
var editButton = "";
- if ((Date.now() - commentDetails.commentOn) < 600000){
- editButton = "Edit · ";
+ if (commentDetails.author.username === user.profile.username){
+ if ((Date.now() - commentDetails.commentOn) < 600000){
+ editButton = "Edit · ";
+ }
}
$(div)
.html(