This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add a should_incr_counts attr to wrapped things.

  • Loading branch information...
alienth committed Feb 20, 2014
1 parent d2ccc40 commit dd67f3ae8352ece3f38483f281c68d0a5fd25e0b
Showing with 1 addition and 0 deletions.
  1. +1 −0 r2/r2/lib/pages/things.py
@@ -220,6 +220,7 @@ def _default_thing_wrapper(thing):
w.rowstyle = 'promoted link'
elif style == 'htmllite':
w.score_fmt = Score.points
+ w.should_incr_counts = style != 'htmllite'
return w
params['parent_wrapper'] = _default_thing_wrapper
return make_wrapper(**params)

0 comments on commit dd67f3a

Please sign in to comment.