Skip to content
Browse files

reddit: Do not embed gold form inside wiki pages.

  • Loading branch information...
1 parent 3bc9344 commit 9116402109e991a4ab7fbcf960758eb25f9045f6 @andre-d andre-d committed with spladug Nov 26, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 r2/r2/lib/pages/
3 r2/r2/lib/pages/
@@ -193,7 +193,8 @@ def __init__(self, space_compress = True, nav_menus = None, loginbox = True,
if srbar and not c.cname and not is_api():
self.srtopbar = SubredditTopBar()
- if c.user_is_loggedin and self.show_sidebar and not is_api():
+ if (c.user_is_loggedin and self.show_sidebar
+ and not is_api() and not self.show_wiki_actions):
# insert some form templates for js to use
# TODO: move these to client side templates
gold = GoldPayment("gift",

0 comments on commit 9116402

Please sign in to comment.
Something went wrong with that request. Please try again.