Default to searching within subreddit

This commit is contained in:
Andrew Kaufman 2022-01-04 21:12:47 -08:00
parent e9038f4fe2
commit d84cb41df0
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
<input id="search" type="text" name="q" placeholder="Search" title="Search libreddit" value="{{ search }}">
{% if root != "/r/" && !root.is_empty() %}
<div id="inside">
<input type="checkbox" name="restrict_sr" id="restrict_sr">
<input type="checkbox" name="restrict_sr" id="restrict_sr" checked>
<label for="restrict_sr" class="search_label" title="Restrict search to this subreddit">in {{ root }}</label>
</div>
{% endif %}