comments: toggle icon will now mark hidden inline comments as visible for easier switching of outdated comments.
This commit is contained in:
parent
ed3ad2ed9a
commit
c80cf9cc4e
1 changed files with 2 additions and 0 deletions
|
|
@ -598,6 +598,8 @@ var CommentsController = function() {
|
|||
this.toggleLineComments = function(node) {
|
||||
self.toggleComments(node, true);
|
||||
var $node = $(node);
|
||||
// mark outdated comments as visible before the toggle;
|
||||
$(node.closest('tr')).find('.comment-outdated').show();
|
||||
$node.closest('tr').toggleClass('hide-line-comments');
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue