preset loader + bugfixes

This commit is contained in:
Sublunar Space 2019-01-03 14:27:31 +01:00
parent 5c624df96f
commit ac264cc82d
2 changed files with 39 additions and 26 deletions

View file

@ -339,14 +339,7 @@
$('#filterreset').on('click', function() {
if ( $("body").attr("use") == "offline" ) {
$("#grid").empty();
$('#caption .stoke').html("resetting...please wait.");
$.get("presets/grid.html").done(function(html) {
$("#grid").append(html);
$('#caption .stoke').empty();
$('#moduleSelect input:checkbox').prop('checked', true);
$('.planetaryhour').on('click', SL.Calendar.hourInfo);
if ( $('#calendar').data('isotope') ) $('#calendar').isotope('destroy');
});
if ( $('#calendar').data('isotope') ) $('#calendar').isotope('destroy');
}
$('.actionlistfilter input').prop('checked', false);
$('.filteroptions input').prop('checked', false);