Skip to content

Commit

Permalink
Merge pull request #534 from compucorp/comcl-680-fix-membership-date-…
Browse files Browse the repository at this point in the history
…field-issue

COMCL-680: Fix Membership Form Date Field Issue
  • Loading branch information
shahrukh-compuco authored Aug 2, 2024
2 parents c76a944 + 7a32fd1 commit b089c49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/paymentPlanToggler.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function paymentPlanToggler(togglerValue, currencySymbol) {
function hideOfflineAutorenewField() {
const autoRenewSelector = '.custom-group-offline_autorenew_option';

waitForElement($, '#customData',
waitForElement($, '#customData_Membership',
element => isPaymentPlanTabActive()
? $(autoRenewSelector).show()
: $(autoRenewSelector).hide()
Expand Down Expand Up @@ -437,7 +437,7 @@ function paymentPlanToggler(togglerValue, currencySymbol) {

/**
* Prevent the payment tab link from appending hash to the URL
*
*
* This resolves the issue with the activity tab not opening after signing up for a membership.
*/
function preventPaymentTabLinkAction() {
Expand Down

0 comments on commit b089c49

Please sign in to comment.