wiki: Fix sometimes not showing compare.

This commit is contained in:
Andre D
2014-04-30 12:29:01 -04:00
committed by Keith Mitchell
parent 5c4f27249b
commit 1b4b6ca0da
2 changed files with 2 additions and 1 deletions

View File

@@ -656,6 +656,7 @@ class WikiRevisionBuilder(QueryBuilder):
for item in items:
w = self.wrap(item)
w.show_extended = extended
w.show_compare = self.show_extended
types.setdefault(w.render_class, []).append(w)
wrapped.append(w)

View File

@@ -36,7 +36,7 @@
%endif
">
%if thing.show_extended:
%if thing.show_compare:
<td style="white-space: nowrap;">
<input type="radio" name="v1" value="${thing._id}" checked="yes">
<input type="radio" name="v2" value="${thing._id}" checked="yes">