Display points on XHR'd compact pages

This commit is contained in:
Jordan Milne
2014-12-16 07:33:01 -04:00
parent 159c51b2b4
commit f7d53fbd91

View File

@@ -425,7 +425,7 @@ class Link(Thing, Printable):
show_media = False
if not hasattr(item, "score_fmt"):
item.score_fmt = Score.number_only
if c.render_style == 'compact':
if c.render_style in ('compact', extensions.api_type("compact")):
item.score_fmt = Score.safepoints
item.pref_compress = user.pref_compress
if user.pref_compress: