Skip to content

Commit

Permalink
Removed extras from makeCalendly
Browse files Browse the repository at this point in the history
  • Loading branch information
Grant Jordan committed Jun 9, 2022
1 parent 69626e3 commit 3d4f635
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions funnelScripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,8 @@ const makeid = (length) => {
return result;
};

const makeCalendlyUrl = (base_url, extra = "") => {
if (extra) {
extra = `&${extra}`;
}
let url = `${base_url}?hide_gdpr_banner=1&hide_event_type_details=1&hide_landing_page_details=1${extra}`;
const makeCalendlyUrl = (base_url) => {
let url = `${base_url}&hide_gdpr_banner=1&hide_event_type_details=1&hide_landing_page_details=1`;

try {
$(function () {
Expand Down

0 comments on commit 3d4f635

Please sign in to comment.