diffs: bring back blue line highlight on comment link

This commit is contained in:
Marcin Lulek 2016-07-06 16:25:15 +02:00
parent 29c54ee77a
commit 26749b8ca5

View file

@ -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() != ""){