make ghost threads free again

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-09 21:19:29 +02:00
parent 321f32da34
commit 6694585434
2 changed files with 3 additions and 3 deletions

View File

@ -770,7 +770,7 @@ def submit_post(v, sub=None):
if embed and len(embed) > 1500: embed = None
ghost = request.values.get("ghost") and v.charge_account('coins', 100)
ghost = request.values.get("ghost")
if embed: embed = embed.strip()

View File

@ -116,8 +116,8 @@
{%- endif %}
<div class="custom-control custom-checkbox mb-5">
<input onchange='draft(this);' autocomplete="off" type="checkbox" class="custom-control-input" id="post-ghost" name="ghost" {% if v.coins < 100 %}disabled{% endif %}>
<label class="custom-control-label" for="post-ghost">Ghost thread (cost: 100 coins)</label>
<input onchange='draft(this);' autocomplete="off" type="checkbox" class="custom-control-input" id="post-ghost" name="ghost">
<label class="custom-control-label" for="post-ghost">Ghost thread</label>
</div>
</div>