Avoid crash
This commit is contained in:
parent
3c7a81eaf4
commit
60708b5bb7
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue