Fix jQuery data attribute caching issue causing expanding issues

What does this MR do?

  • Use vanilla dataset to retrieve data-line-type attribute

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

In parallel diff view, find resolve/collapsed diff comment. Page-load and try to expand the diff.

Command Result
$'lineType') ''
$'line-type') ''
$link.attr('data-line-type') 'new'
$link[0].dataset.lineType 'new'

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?


Edited by Eric Eastwood