mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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.
This commit is contained in:
@@ -9,8 +9,7 @@
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
var showDiff = function(diff) {
|
||||
document.getElementById("details").innerHTML = diff.escapeHTML();
|
||||
highlightDiffs();
|
||||
highlightDiff(diff, $("details"));
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user