mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
wiki: Fix sometimes not showing compare.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user