Avoid crash

This commit is contained in:
Edward Betts 2023-09-09 17:05:38 +03:00
parent 3c7a81eaf4
commit 60708b5bb7

View file

@ -52,6 +52,7 @@
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
{% if subject and lines %}
<script> <script>
var copy_subject = document.getElementById("copy-subject"); var copy_subject = document.getElementById("copy-subject");
var copy_message = document.getElementById("copy-message"); var copy_message = document.getElementById("copy-message");
@ -67,4 +68,5 @@
}); });
</script> </script>
{% endif %}
{% endblock %} {% endblock %}