overlay glitch after regeneration bugfix

This commit is contained in:
Sublunar Space 2018-12-24 21:37:30 +01:00
parent 3da14dbf5e
commit b141b5bb8f
2 changed files with 8 additions and 3 deletions

View file

@ -90,8 +90,12 @@
* SUBLUNAR ALMANAC * SUBLUNAR ALMANAC
*--> *-->
<div id="calendar"> <div id="calendar">
<div id="caption">
<center>
<h3 class="stoke">How does this work? <a href="http://sublunar.space/2018-12-sublunar-almanac.html#doc">Read!</a></h3>
</center>
</div>
<div id="grid"> <div id="grid">
<center><h3 class="stoke">How does this work? <a href="http://sublunar.space/2018-12-sublunar-almanac.html#doc">Read!</a></h3></center>
</div> </div>
</div> </div>

View file

@ -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!"); alert("Sorry, the calculation is limited to 60 days at the moment! Calculating the first 60 out of your desired "+days+" days!");
days = 60; days = 60;
} }
$('#grid .stoke').html('calculating...please wait'); $('#caption .stoke').html('calculating...please wait');
$("#grid").empty();
$('#download').remove(); $('#download').remove();
Filter.load(); Filter.load();
var files = document.getElementById('fileInput').files; var files = document.getElementById('fileInput').files;
@ -234,7 +235,7 @@ SL.Calendar = (function() {
$('#calendar').isotope('destroy'); $('#calendar').isotope('destroy');
NProgress.done(); NProgress.done();
clearTimeout(timeout); clearTimeout(timeout);
$('#grid .stoke').empty(); $('#caption .stoke').empty();
} }
} }