diff options
author | prathamesh | 2014-12-05 16:41:54 +0530 |
---|---|---|
committer | prathamesh | 2014-12-05 16:41:54 +0530 |
commit | 0d23702ac00aa9d3b9bdce3d8fbde5175ea4d468 (patch) | |
tree | 3fbd0874b22e4c7ffa3e9c694a85ae4aee9e74e9 /certificate/templates/download.html | |
parent | ade9e9f78290072a184752a48ccee220d1ef371a (diff) | |
download | certificate-generator-0d23702ac00aa9d3b9bdce3d8fbde5175ea4d468.tar.gz certificate-generator-0d23702ac00aa9d3b9bdce3d8fbde5175ea4d468.tar.bz2 certificate-generator-0d23702ac00aa9d3b9bdce3d8fbde5175ea4d468.zip |
minor js change
Diffstat (limited to 'certificate/templates/download.html')
-rw-r--r-- | certificate/templates/download.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/certificate/templates/download.html b/certificate/templates/download.html index d41d537..e23695e 100644 --- a/certificate/templates/download.html +++ b/certificate/templates/download.html @@ -64,11 +64,10 @@ email = "{{ workshops.0.email }}" } $('#email').val(email); - notreg = {{ notregistered }} - if(notreg == 1) - { - $("#invalidModal").modal(); - } + notreg = "{{ notregistered }}"; + if(notreg == "1"){ + $("#invalidModal").modal(); + } }); </script> {% endblock %} |