summaryrefslogtreecommitdiff
path: root/static/website/js
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/js')
-rw-r--r--static/website/js/custom.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/static/website/js/custom.js b/static/website/js/custom.js
index 2573428..ef59691 100644
--- a/static/website/js/custom.js
+++ b/static/website/js/custom.js
@@ -91,3 +91,14 @@ $(document)
e.preventDefault(); // prevent the default action (scroll / move caret)
});
+$(function()
+{
+ $('#id_terms_and_conditions').click(function()
+ {
+ if ($('#id_terms_and_conditions').is(":checked")) {
+ $('#modal_terms_and_conditions').modal('show');
+ }else {
+ $('#modal_terms_and_conditions').modal('hide');
+ }
+ });
+}); \ No newline at end of file