aboutsummaryrefslogtreecommitdiff
blob: c964fdba5bf4a0e99187aa1daca24b72df413a41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$(function() {
  var atom = $('#package-title').data('atom');

  $.ajax({
    url: '/packages/' + atom + '/changelog'
  }).done(function(data) {
    $('#changelog-container').html(data);
    $(document).trigger('kkuleomi:ajax');
  }).fail(function() {
    $('#changelog-container > li').html('<span class="fa fa-fw fa-3x fa-ban text-danger"></span><br><br>Changelog currently not available. Please check back later.');
  });
});