Don't show dead browser tabs on reload
This commit is contained in:
parent
1203ee589c
commit
0c0811a5fc
1 changed files with 4 additions and 1 deletions
|
|
@ -82,10 +82,13 @@
|
|||
<button onclick="newSite()">Start</button>
|
||||
|
||||
{{ range . }}
|
||||
{{ if .StopLoop }}
|
||||
{{ continue }}
|
||||
{{ end }}
|
||||
<div class="line"></div>
|
||||
<div class="url {{ if .StopLoop }}dead{{ end }}" data-uuid="{{ .UUID }}">{{ .URL }}</div>
|
||||
<div class="watch {{ if .StopLoop }}dead{{ end }}" data-uuid="{{ .UUID }}">{{ .Watch }}</div>
|
||||
<div class="stop" onclick="stopSite('{{ .UUID }}')">❌</div>
|
||||
<div class="stop" onclick="stopSite('{{ .UUID }}')">{{ if not .StopLoop }}❌{{ end }}</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<script>init()</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue