Skip to content

Commit

Permalink
comment: Fix bug highlighting comment which mentioned me
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Sep 24, 2017
1 parent 5205daa commit 76f5f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/board/view.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ <h3>@Messages("issue.delete")</h3>
});

// detect comment which contains mention at me
$(".comment-body:contains('@UserApp.currentUser().loginId')").closest(".comment").addClass("mentioned");
$(".comment-body:contains('@UserApp.currentUser().getPureNameOnly')").closest(".comment").addClass("mentioned");

$('#translate').one('click', function (e) {
var data = {
Expand Down
2 changes: 1 addition & 1 deletion app/views/issue/view.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ <h3>@Messages("issue.delete")</h3>
});

// detect comment which contains mention at me
$(".comment-body:contains('@UserApp.currentUser().loginId')").closest(".comment").addClass("mentioned");
$(".comment-body:contains('@UserApp.currentUser().getPureNameOnly')").closest(".comment").addClass("mentioned");
});
</script>
<script>
Expand Down

0 comments on commit 76f5f5d

Please sign in to comment.