From b141b5bb8f09c7f19d587cba4376481efebd93ff Mon Sep 17 00:00:00 2001 From: Sublunar Space Date: Mon, 24 Dec 2018 21:37:30 +0100 Subject: [PATCH] overlay glitch after regeneration bugfix --- index.html | 6 +++++- js/SL.Calendar.js | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 881dd41..593ab30 100644 --- a/index.html +++ b/index.html @@ -90,8 +90,12 @@ * SUBLUNAR ALMANAC *-->
+
+
+

How does this work? Read!

+
+
-

How does this work? Read!

diff --git a/js/SL.Calendar.js b/js/SL.Calendar.js index 01eeeb8..574ad13 100644 --- a/js/SL.Calendar.js +++ b/js/SL.Calendar.js @@ -134,7 +134,8 @@ SL.Calendar = (function() { alert("Sorry, the calculation is limited to 60 days at the moment! Calculating the first 60 out of your desired "+days+" days!"); days = 60; } - $('#grid .stoke').html('calculating...please wait'); + $('#caption .stoke').html('calculating...please wait'); + $("#grid").empty(); $('#download').remove(); Filter.load(); var files = document.getElementById('fileInput').files; @@ -234,7 +235,7 @@ SL.Calendar = (function() { $('#calendar').isotope('destroy'); NProgress.done(); clearTimeout(timeout); - $('#grid .stoke').empty(); + $('#caption .stoke').empty(); } }