mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
Display points on XHR'd compact pages
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user