Skip to content

Commit

Permalink
Merge pull request #6 from txdv/non-functionin-scripts
Browse files Browse the repository at this point in the history
remove non functioning scripts and update jquery
  • Loading branch information
txdv authored Mar 24, 2024
2 parents be0836b + b47c100 commit 4cd7bae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
3 changes: 1 addition & 2 deletions code.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ $.ajax({
);
}
$('#info').text("successfully loaded");
$('#data').tablesorter();
}
})
.error(function (data) {
.fail(function (data) {
$('#info').text("failed to load");
})

Expand Down
13 changes: 1 addition & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,8 @@
<head>
<title>Counter Strike 1.6 CVar list</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<script language="javascript" src="https://code.jquery.com/jquery-1.7.1.min.js"></script>
<script language="javascript" src="https://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
<script language="javascript" src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<script language="javascript" src="code.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-53397122-1', 'auto');
ga('send', 'pageview');

</script>
</head>
<body>
<h1>Half-Life and Counter-Strike CVar list</h1>
Expand Down

0 comments on commit 4cd7bae

Please sign in to comment.