mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-09-29 09:58:11 +08:00
#13 refresh page if more than five dots
This commit is contained in:
@@ -44,9 +44,13 @@
|
||||
</a>
|
||||
</div>
|
||||
<script>
|
||||
var count = 0;
|
||||
window.setInterval(function(){
|
||||
var dots = document.getElementById('dots');
|
||||
dots.textContent = dots.textContent + '.';
|
||||
if (count++ > 5) {
|
||||
window.location.reload();
|
||||
}
|
||||
}, 1000);
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user