Mercurial > sat_legacy_website
view static/js/sat_website.js @ 54:d54f2f09a73a
fixes displaying two carousels on the same page
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 05 May 2015 11:03:18 +0200 |
parents | 9d553570cc61 |
children |
line wrap: on
line source
$(document).ready(function() { // language selector $('#language_select').change(function() { $('#language_form').submit(); }); // registration form $('#id_subscription_amount').change(function() { if ($(this).val() > 0) { $('#id_payment_method_group').show(); } else { $('#id_payment_method_group').hide(); } }); });