mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-12 10:53:29 +00:00
Store offset and length in row
This commit is contained in:
parent
10484fd811
commit
ebb289140c
|
@ -44,7 +44,7 @@ function diff_file(file, lnstate, data)
|
|||
var l = h.lines[j];
|
||||
var o = String.fromCharCode(l.type);
|
||||
|
||||
var row = '<tr class="';
|
||||
var row = '<tr data-offset="' + l.offset + '" data-length="' + l.length + '" class="';
|
||||
|
||||
switch (o)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue