mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:35:06 +03:00
Release no. fades in
This commit is contained in:
parent
a2e9065c71
commit
f5f14d5823
1 changed files with 8 additions and 8 deletions
|
@ -190,14 +190,14 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
|
|||
|
||||
<script>
|
||||
|
||||
$(document).ready(function() {
|
||||
var repository = "teaxyz/cli";
|
||||
var url = "https://api.github.com/repos/"+ repository +"/releases/latest";
|
||||
$(document).ready(function() {
|
||||
var repository = "teaxyz/cli";
|
||||
var url = "https://api.github.com/repos/"+ repository +"/releases/latest";
|
||||
|
||||
$.get(url, function(data) {
|
||||
var release = data.tag_name;
|
||||
$(".release").html(release);
|
||||
});
|
||||
});
|
||||
$.get(url, function(data) {
|
||||
var release = data.tag_name;
|
||||
$(".release").html(release).hide().fadeIn(400);
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue