Skip to content

Commit

Permalink
added jw-test to allowable thankyou redirect pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremymwells committed Oct 17, 2023
1 parent 2454704 commit a76baa6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,10 @@ $('form[action^="https://api.hsforms.com"]').each(function (i) {
* page is NOT disclosures
*/
if (
(isOnURL('/support') || isOnURL('/contact')) &&
!isOnURL('support/disclosures')
(
(isOnURL('/support') || isOnURL('/contact')) &&
!isOnURL('support/disclosures')
) || isOnURL('jw-test')
) {
document.location.href = '../thank-you';
} else if (isOnURL('support/disclosures')) {
Expand Down

0 comments on commit a76baa6

Please sign in to comment.