forked from MarseyWorld/MarseyWorld
do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4439973#context
parent
787da2ffbf
commit
c8116a401a
|
@ -164,7 +164,7 @@ def settings_personal_post(v):
|
|||
updated = True
|
||||
elif request.values.get("reddit", v.reddit) != v.reddit:
|
||||
reddit = request.values.get("reddit")
|
||||
if reddit in {'old.reddit.com', 'reddit.com', 'i.reddit.com', 'teddit.net', 'libredd.it', 'unddit.com'}:
|
||||
if reddit in {'old.reddit.com', 'reddit.com', 'i.reddit.com', 'reddit.lol', 'libredd.it', 'unddit.com'}:
|
||||
updated = True
|
||||
v.reddit = reddit
|
||||
elif request.values.get("poor", v.poor) != v.poor:
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
<p>Change the domain you would like to view reddit posts in.</p>
|
||||
<div class="input-group">
|
||||
<select autocomplete="off" id='reddit' class="form-control setting_select" data-nonce="{{g.nonce}}" form="profile-settings" name="reddit">
|
||||
{% for entry in ['old.reddit.com', 'reddit.com', 'i.reddit.com', 'unddit.com', 'teddit.net', 'libredd.it'] %}
|
||||
{% for entry in ['old.reddit.com', 'reddit.com', 'i.reddit.com', 'unddit.com', 'reddit.lol', 'libredd.it'] %}
|
||||
<option value="{{entry}}"{{' selected' if v.reddit==entry}}>{{entry}}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
|
Loading…
Reference in New Issue