diff --git a/modules/townsquare/townsquare_volunteer/js/townsquare_volunteer-session-edit.js b/modules/townsquare/townsquare_volunteer/js/townsquare_volunteer-session-edit.js index 7640e3b..66cd4ec 100644 --- a/modules/townsquare/townsquare_volunteer/js/townsquare_volunteer-session-edit.js +++ b/modules/townsquare/townsquare_volunteer/js/townsquare_volunteer-session-edit.js @@ -55,7 +55,7 @@ Drupal.behaviors.toggleFields = { if ($(this).is(':checked')) { duration.removeAttr('readonly'); hours.attr('readonly', true); - setDuration('readonly',true); + setDuration.attr('readonly',true); } });