Skip to content

Commit c5d9483

Browse files
committed
made adjustments
1 parent 4a5bc74 commit c5d9483

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

index.html

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -346,22 +346,15 @@
346346
background: rgba(0, 0, 0, 0.8);
347347
}
348348
</style>
349-
<script>
350349

351-
!function (e, t, n, s, u, a) {
352-
e.twq || (s = e.twq = function () { s.exe ? s.exe.apply(s, arguments) : s.queue.push(arguments); }, s.queue = [], a = t.createElement(n), a.async = !0, a.src = u, t.head.appendChild(a));
353-
}(window, document, "script", "https://static.ads-twitter.com/uwt.js");
354-
355-
function onMailToClick(event) {
356-
event.preventDefault();
357-
358-
// Insert Twitter Event ID
359-
twq('event', 'tw-omjy9-oxajj', {
360-
});
361-
// Optionally trigger the mailto link after the script runs
362-
window.location.href = 'mailto:[email protected]?subject=Project%20Inquiry';
363-
}
350+
<!-- Twitter conversion tracking base code -->
351+
<script>
352+
!function(e,t,n,s,u,a){e.twq||(s=e.twq=function(){s.exe?s.exe.apply(s,arguments):s.queue.push(arguments);
353+
},s.version='1.1',s.queue=[],u=t.createElement(n),u.async=!0,u.src='https://static.ads-twitter.com/uwt.js',
354+
a=t.getElementsByTagName(n)[0],a.parentNode.insertBefore(u,a))}(window,document,'script');
355+
twq('config','omjy9');
364356
</script>
357+
<!-- End Twitter conversion tracking base code -->
365358
</head>
366359

367360
<body>
@@ -814,8 +807,16 @@ <h2><b>For Donations!</b></h2>
814807
});
815808
</script>
816809

817-
</script>
818-
810+
<script>
811+
function onMailToClick(event) {
812+
event.preventDefault();
819813

814+
// Insert Twitter Event ID
815+
twq('event', 'tw-omjy9-oxajj', {
816+
});
817+
// Optionally trigger the mailto link after the script runs
818+
window.location.href = 'mailto:[email protected]?subject=Project%20Inquiry';
819+
}
820+
</script>
820821

821822
</html>

0 commit comments

Comments
 (0)