diffs: bring back blue line highlight on comment link
This commit is contained in:
parent
29c54ee77a
commit
26749b8ca5
1 changed files with 9 additions and 0 deletions
|
|
@ -258,6 +258,15 @@ $(document).ready(function() {
|
|||
}
|
||||
});
|
||||
|
||||
$('.compare_view_files').on(
|
||||
'mouseenter mouseleave', 'tr.line .add-comment-line a',function(event){
|
||||
if (event.type === "mouseenter") {
|
||||
$(this).parents('tr.line').addClass('commenting');
|
||||
} else {
|
||||
$(this).parents('tr.line').removeClass('commenting');
|
||||
}
|
||||
});
|
||||
|
||||
$('.compare_view_files').on(
|
||||
'click', 'tr.line .lineno a',function(event) {
|
||||
if ($(this).text() != ""){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue