From 533d3765d7a8a3a5cc90d9da5b5dd0cb74927cd7 Mon Sep 17 00:00:00 2001 From: Roger Ostrander Date: Tue, 5 Nov 2013 14:25:33 -0800 Subject: [PATCH] Subreddit Creation: Display defaults for spam --- r2/r2/templates/createsubreddit.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/r2/r2/templates/createsubreddit.html b/r2/r2/templates/createsubreddit.html index 8e56316ff..ef64b26fa 100644 --- a/r2/r2/templates/createsubreddit.html +++ b/r2/r2/templates/createsubreddit.html @@ -244,7 +244,7 @@ ${utils.inline_radio_type('spam_links', 'low', _("low"), checked=thing.site and thing.site.spam_links == 'low')} ${utils.inline_radio_type('spam_links', 'high', _("high"), - checked=thing.site and thing.site.spam_links == 'high')} + checked=not thing.site or thing.site.spam_links == 'high')} ${utils.inline_radio_type('spam_links', 'all', _("all"), checked=thing.site and thing.site.spam_links == 'all')} @@ -255,7 +255,7 @@ ${utils.inline_radio_type('spam_selfposts', 'low', _("low"), checked=thing.site and thing.site.spam_selfposts == 'low')} ${utils.inline_radio_type('spam_selfposts', 'high', _("high"), - checked=thing.site and thing.site.spam_selfposts == 'high')} + checked=not thing.site or thing.site.spam_selfposts == 'high')} ${utils.inline_radio_type('spam_selfposts', 'all', _("all"), checked=thing.site and thing.site.spam_selfposts == 'all')} @@ -264,7 +264,7 @@ ${_("comments")}: ${utils.inline_radio_type('spam_comments', 'low', _("low"), - checked=thing.site and thing.site.spam_comments == 'low')} + checked=not thing.site or thing.site.spam_comments == 'low')} ${utils.inline_radio_type('spam_comments', 'high', _("high"), checked=thing.site and thing.site.spam_comments == 'high')} ${utils.inline_radio_type('spam_comments', 'all', _("all"),