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