|
@@ -100,12 +100,12 @@ $( document ).ready(function() {
|
|
|
|
|
|
|
|
|
// Contrib share dynamic form
|
|
|
- if ($('[name="contrib-type"]:checked').val() == 'share') { $('#contrib-type-share').show(); }
|
|
|
+ if ($('[name="contrib_type"]:checked').val() == 'share') { $('#contrib-type-share').show(); }
|
|
|
else { $('#contrib-type-share').hide(); }
|
|
|
- if ($('[name="contrib-type"]:checked').val() == 'connect') { $('#contrib-type-connect').show(); }
|
|
|
+ if ($('[name="contrib_type"]:checked').val() == 'connect') { $('#contrib-type-connect').show(); }
|
|
|
else { $('#contrib-type-connect').hide(); }
|
|
|
// On change
|
|
|
- $('[name="contrib-type"]').change(function(e){
|
|
|
+ $('[name="contrib_type"]').change(function(e){
|
|
|
$('#contrib-type-share').slideUp();
|
|
|
$('#contrib-type-connect').slideUp();
|
|
|
if ($(this).val() == 'share') { $('#contrib-type-share').slideDown(); }
|