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
*-->
<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">
<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>

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!");
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();
}
}