Remove old code in Commit/Diff views

We used to put diffs inside a <pre><code> block,
but no longer need to do that as we now use tables anyway.
We changed the code for the History view, but not for the
other two views.
This commit is contained in:
Pieter de Bie
2009-01-25 22:05:53 +00:00
parent 87fae3f03e
commit c6895105e2
2 changed files with 3 additions and 7 deletions
+1 -4
View File
@@ -31,8 +31,5 @@
<div id="state">
Nothing to commit (working directory clean)
</div>
<pre>
<code class="diffcode" id='diff'>
</code>
</pre>
<div id='diff'></div>
</body>
+2 -3
View File
@@ -9,12 +9,11 @@
<script type="text/javascript" charset="utf-8">
var showDiff = function(diff) {
highlightDiff(diff, $("details"));
highlightDiff(diff, $("diff"));
}
</script>
</head>
<body>
<pre><code class="diffcode" id='details'>
</code></pre>
<div id='diff'></div>
</body>