forked from rDrama/rDrama
make ghost threads free again
parent
321f32da34
commit
6694585434
|
@ -770,7 +770,7 @@ def submit_post(v, sub=None):
|
||||||
|
|
||||||
if embed and len(embed) > 1500: embed = 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()
|
if embed: embed = embed.strip()
|
||||||
|
|
||||||
|
|
|
@ -116,8 +116,8 @@
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
<div class="custom-control custom-checkbox mb-5">
|
<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 %}>
|
<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 (cost: 100 coins)</label>
|
<label class="custom-control-label" for="post-ghost">Ghost thread</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue