Use 'hunk_stats' as class name

https://bugzilla.gnome.org/show_bug.cgi?id=720886
This commit is contained in:
Techlive Zheng 2013-12-18 07:08:57 +08:00
parent cf930ae22b
commit 64c30d5f19
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ function diff_file(file, lnstate, data)
var cold = h.range.old.start;
var cnew = h.range.new.start;
var hunk_header = '<span class="hunk_header">@@ -' + h.range.old.start + ',' + h.range.old.lines + ' +' + h.range.new.start + ',' + h.range.new.lines + ' @@</span>';
var hunk_header = '<span class="hunk_stats">@@ -' + h.range.old.start + ',' + h.range.old.lines + ' +' + h.range.new.start + ',' + h.range.new.lines + ' @@</span>';
if (data.settings.staged || data.settings.unstaged)
{

View file

@ -239,7 +239,7 @@ span.unstage {
background-color: #ffdddd;
}
span.hunk_header, span.file_path {
span.hunk_stats, span.file_path {
display: inline-block;
vertical-align: middle;
}