From 0d23702ac00aa9d3b9bdce3d8fbde5175ea4d468 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 5 Dec 2014 16:41:54 +0530 Subject: minor js change --- certificate/templates/download.html | 9 ++++----- 1 file 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(); + } }); {% endblock %} -- cgit