Skip to content

Commit

Permalink
Remove unused script from History
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Nov 19, 2024
1 parent dfe9a15 commit 5186607
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions history.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,6 @@
<!-- Google analytics -->
<script src="js/analytics.js"></script>

<!-- Meow woof -->
<script>
window.onload = function() {

$.getJSON('https://pypi.org/pypi/astropy/json', function(data) {
document.getElementById('core-package-version').innerHTML = 'Current Version: ' + data.info.version;
});


var today = new Date();
var month = today.getMonth() + 1;
var date = today.getDate();

if (month == 4 && date == 1) {
$('#hero img').attr('src', 'images/astropy_meow.png');
$('#hero img').attr('onerror', 'this.src=\x27images/astropy_meow.png\x27; this.onerror=null;');

var dogeContainer = document.getElementById("prenew");
var dogeImg = document.createElement("img");
dogeImg.onload=function() {
dogeContainer.appendChild(dogeImg);
}
dogeImg.src = 'images/astropy_doge.png';
dogeImg.alt = 'wow so open very python';
}

};
</script>

</head>

<body>
Expand Down

0 comments on commit 5186607

Please sign in to comment.