mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
download: Make fathom optional
It seems to be blocked by ad blockers??
This commit is contained in:
parent
52de5be0f8
commit
2c035253ab
1 changed files with 3 additions and 1 deletions
|
@ -154,7 +154,9 @@ $(function() {
|
||||||
|
|
||||||
disableFields(true);
|
disableFields(true);
|
||||||
|
|
||||||
fathom.trackGoal('U9K2UTFV', 0);
|
if (fathom) {
|
||||||
|
fathom.trackGoal('U9K2UTFV', 0);
|
||||||
|
}
|
||||||
|
|
||||||
$.ajax($(this).attr('href'), { method: "HEAD" }).done(function(data, status, jqxhr) {
|
$.ajax($(this).attr('href'), { method: "HEAD" }).done(function(data, status, jqxhr) {
|
||||||
window.onbeforeunload = null; // disable exit confirmation before "redirecting" to download
|
window.onbeforeunload = null; // disable exit confirmation before "redirecting" to download
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue