mirror of
https://github.com/csd4ni3l/grass_touching_captcha.git
synced 2026-01-01 12:33:45 +01:00
fix wrong filter in error modal
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
{% for category, message in messages %}
|
||||
{% if category == 'error' %}
|
||||
const modalBody = document.getElementById("errorModalBody");
|
||||
modalBody.textContent = "{{ message|escapejs }}";
|
||||
modalBody.textContent = "{{ message|tojson }}";
|
||||
|
||||
const errorModal = new bootstrap.Modal(document.getElementById('errorModal'));
|
||||
errorModal.show();
|
||||
|
||||
Reference in New Issue
Block a user