Skip to content

Commit 5186607

Browse files
committed
Remove unused script from History
1 parent dfe9a15 commit 5186607

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

history.html

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,6 @@
1616
<!-- Google analytics -->
1717
<script src="js/analytics.js"></script>
1818

19-
<!-- Meow woof -->
20-
<script>
21-
window.onload = function() {
22-
23-
$.getJSON('https://pypi.org/pypi/astropy/json', function(data) {
24-
document.getElementById('core-package-version').innerHTML = 'Current Version: ' + data.info.version;
25-
});
26-
27-
28-
var today = new Date();
29-
var month = today.getMonth() + 1;
30-
var date = today.getDate();
31-
32-
if (month == 4 && date == 1) {
33-
$('#hero img').attr('src', 'images/astropy_meow.png');
34-
$('#hero img').attr('onerror', 'this.src=\x27images/astropy_meow.png\x27; this.onerror=null;');
35-
36-
var dogeContainer = document.getElementById("prenew");
37-
var dogeImg = document.createElement("img");
38-
dogeImg.onload=function() {
39-
dogeContainer.appendChild(dogeImg);
40-
}
41-
dogeImg.src = 'images/astropy_doge.png';
42-
dogeImg.alt = 'wow so open very python';
43-
}
44-
45-
};
46-
</script>
47-
4819
</head>
4920

5021
<body>

0 commit comments

Comments
 (0)