Browse Source

removed duplicate script from header

pull/42/head
thePeterG 2 weeks ago
committed by GitHub
parent
commit
ad4ac9fe40
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 14 deletions
  1. 14
      iw4x_download.html

14
iw4x_download.html

@ -36,20 +36,6 @@
gtag('config', 'G-EJKDYYL6WF');
</script>
<script language="javascript" type="text/javascript">
function GetLatestReleaseInfo() {
$.getJSON("https://api.github.com/repos/XLabsProject/iw4x-client/releases/latest").done(function(release) {
var asset = release.assets[0];
$(".download").attr("href", asset.browser_download_url);
window.location.replace(asset.browser_download_url);
});
}
GetLatestReleaseInfo();
</script>
</head>
<body>
Loading…
Cancel
Save