verified fixes again

remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-11-06 22:31:38 -06:00
parent 099639b4d8
commit af696a2f9c
2 changed files with 2 additions and 2 deletions

View File

@ -373,7 +373,7 @@ def gumroad(v):
@limiter.limit("1/second;30/minute;200/hour;1000/day", key_func=lambda:f'{SITE}-{session.get("lo_user")}')
@auth_required
def titlecolor(v):
return set_color(v, "title", request.values.get("titlecolor"))
return set_color(v, "titlecolor", request.values.get("titlecolor"))
@app.post("/settings/verifiedcolor")
@limiter.limit("1/second;30/minute;200/hour;1000/day")

View File

@ -28,7 +28,7 @@
<input autocomplete="off" type="radio" name="{{form_name}}" id="{{id}}-{{themecolor}}" value="{{themecolor}}" {% if current_color == themecolor %}checked{% endif %} onclick="document.getElementById('{{id}}-form').submit()">
<label class="color-radio" for="{{id}}-{{themecolor}}">
<span style="background-color: #{{themecolor}}">
{% if current_color.lower() == themecolor %}
{% if current_color and current_color.lower() == themecolor %}
<i class="fas fa-check text-white"></i>
{% else %}
&nbsp;