Show More
@@ -259,6 +259,15 b' function offsetScroll(element, offset){' | |||||
259 | }); |
|
259 | }); | |
260 |
|
260 | |||
261 | $('.compare_view_files').on( |
|
261 | $('.compare_view_files').on( | |
|
262 | 'mouseenter mouseleave', 'tr.line .add-comment-line a',function(event){ | |||
|
263 | if (event.type === "mouseenter") { | |||
|
264 | $(this).parents('tr.line').addClass('commenting'); | |||
|
265 | } else { | |||
|
266 | $(this).parents('tr.line').removeClass('commenting'); | |||
|
267 | } | |||
|
268 | }); | |||
|
269 | ||||
|
270 | $('.compare_view_files').on( | |||
262 | 'click', 'tr.line .lineno a',function(event) { |
|
271 | 'click', 'tr.line .lineno a',function(event) { | |
263 | if ($(this).text() != ""){ |
|
272 | if ($(this).text() != ""){ | |
264 | $('tr.line').removeClass('selected'); |
|
273 | $('tr.line').removeClass('selected'); |
General Comments 0
You need to be logged in to leave comments.
Login now