mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
diffHighlighter.js: Off-by-one for last file in diff, resulting in wrong href
This commit is contained in:
committed by
Pieter de Bie
parent
086a1c3a12
commit
ed08bf64bd
@@ -126,6 +126,7 @@ var highlightDiff = function(diff, element, callbacks) {
|
||||
}
|
||||
}
|
||||
|
||||
file_index++;
|
||||
finishContent();
|
||||
|
||||
// This takes about 7ms
|
||||
|
||||
Reference in New Issue
Block a user