Don't use localstorage cache for edits

This commit is contained in:
Mouse Reeve
2021-10-14 16:53:46 -07:00
parent e149a14e73
commit df27614937
6 changed files with 9 additions and 9 deletions

View File

@ -17,6 +17,6 @@
id="id_content_warning_{{ uuid }}{{ local_uuid }}"
placeholder="{% trans 'Spoilers ahead!' %}"
value="{% firstof draft.content_warning reply_parent.content_warning '' %}"
data-cache-draft="id_content_warning_{{ book.id }}_{{ type }}"
{% if not draft %}data-cache-draft="id_content_warning_{{ book.id }}_{{ type }}"{% endif %}
>
</div>