diff options
author | prathamesh | 2014-12-04 15:44:53 +0530 |
---|---|---|
committer | prathamesh | 2014-12-04 15:44:53 +0530 |
commit | ba2d3829c72032b1827cab1ac46935bc1ba4af7f (patch) | |
tree | 7a2f63310a1a7e7f42c5b1a247703fb9d30f565a | |
parent | f1be9a363fc8d1d6fa64f8d9192b743339077274 (diff) | |
download | certificate-generator-ba2d3829c72032b1827cab1ac46935bc1ba4af7f.tar.gz certificate-generator-ba2d3829c72032b1827cab1ac46935bc1ba4af7f.tar.bz2 certificate-generator-ba2d3829c72032b1827cab1ac46935bc1ba4af7f.zip |
minor change
-rw-r--r-- | certificate/templates/download.html | 10 |
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 %} |