Skip to content

Commit 4363097

Browse files
author
ghost
committed
fixes
1 parent 90ace8b commit 4363097

2 files changed

Lines changed: 13 additions & 21 deletions

File tree

cookie-consent.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -113,21 +113,6 @@
113113
}
114114
})(window, document, 'ttq', 'D6ON94BC77U7PMTO33SG');
115115

116-
// LEAD / OTHER NON-ESSENTIAL TAGS
117-
(function loadLeadTag() {
118-
if (window.__mousaLeadTagLoaded) return;
119-
window.__mousaLeadTagLoaded = true;
120-
121-
var s = document.createElement('script');
122-
s.async = true;
123-
s.src = 'https://r2.leadsy.ai/tag.js';
124-
s.id = 'vtag-ai-js';
125-
s.dataset.pid = '13svyJ0aec5qHxzuY';
126-
s.dataset.version = '062024';
127-
appendScript(s);
128-
})();
129-
130-
// NOTE: Tally is loaded when the user reaches the form; keep as-is.
131116
}
132117

133118
function hideBanner() {

index.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,15 +1025,22 @@ <h1><b>For general inquiries or a booking a free discovery call</b></h1>
10251025
</div>
10261026

10271027
<!--Start of Tawk.to Script-->
1028-
<script type="text/javascript">
1028+
<script>
10291029
var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();
10301030
(function () {
1031-
var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];
1031+
var s1 = document.createElement("script");
1032+
var s0 = document.getElementsByTagName("script")[0];
1033+
10321034
s1.async = true;
1033-
s1.src = 'https://embed.tawk.to/69ca6af5ecf7021c366807d6/1jkvb3jop';
1034-
s1.charset = 'UTF-8';
1035-
s1.setAttribute('crossorigin', '*');
1036-
s0.parentNode.insertBefore(s1, s0);
1035+
s1.src = "https://embed.tawk.to/69ca6af5ecf7021c366807d6/1jkvb3jop";
1036+
s1.charset = "UTF-8";
1037+
s1.setAttribute("crossorigin", "*");
1038+
1039+
if (s0 && s0.parentNode) {
1040+
s0.parentNode.insertBefore(s1, s0);
1041+
} else {
1042+
(document.head || document.body || document.documentElement).appendChild(s1);
1043+
}
10371044
})();
10381045
</script>
10391046
<!--End of Tawk.to Script-->

0 commit comments

Comments
 (0)