summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh2014-12-04 15:44:53 +0530
committerprathamesh2014-12-04 15:44:53 +0530
commitba2d3829c72032b1827cab1ac46935bc1ba4af7f (patch)
tree7a2f63310a1a7e7f42c5b1a247703fb9d30f565a
parentf1be9a363fc8d1d6fa64f8d9192b743339077274 (diff)
downloadcertificate-generator-ba2d3829c72032b1827cab1ac46935bc1ba4af7f.tar.gz
certificate-generator-ba2d3829c72032b1827cab1ac46935bc1ba4af7f.tar.bz2
certificate-generator-ba2d3829c72032b1827cab1ac46935bc1ba4af7f.zip
minor change
-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 %}