summaryrefslogtreecommitdiff
path: root/certificate/templates
diff options
context:
space:
mode:
Diffstat (limited to 'certificate/templates')
-rw-r--r--certificate/templates/download.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/certificate/templates/download.html b/certificate/templates/download.html
index 232a9f5..d41d537 100644
--- a/certificate/templates/download.html
+++ b/certificate/templates/download.html
@@ -64,15 +64,11 @@
email = "{{ workshops.0.email }}"
}
$('#email').val(email);
- });
-</script>
-<script>
-notreg = {{ notregistered }}
-$( document ).ready(function() {
- if(notreg == 1)
+ notreg = {{ notregistered }}
+ if(notreg == 1)
{
$("#invalidModal").modal();
}
-});
+ });
</script>
{% endblock %}