Skip to content

Commit bad99be

Browse files
committed
DiffView: Fix displaying of diffs
This was lost when changing the diff mechanism to highlight only a single div, rather than all diffs in the body.
1 parent 9c4c2a3 commit bad99be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

html/views/diff/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
<script type="text/javascript" charset="utf-8">
1111
var showDiff = function(diff) {
12-
document.getElementById("details").innerHTML = diff.escapeHTML();
13-
highlightDiffs();
12+
highlightDiff(diff, $("details"));
1413
}
1514
</script>
1615
</head>

0 commit comments

Comments
 (0)