mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user