added hidden to selected options

This commit is contained in:
Philipp 2021-10-14 12:13:37 +02:00
parent 0f5668bf18
commit a614093c32

View file

@ -52,27 +52,27 @@
{{ $region }}
{{ "All Regions" }}
{{if eq $region "All Regions" -}}
<option value="/" selected>All Regions</option>
<option value="/" selected hidden>All Regions</option>
{{else}}
<option value="/">All Regions</option>
{{- end}}
{{if eq $region "North America" -}}
<option value="/america" selected>North America</option>
<option value="/america" selected hidden>North America</option>
{{else}}
<option value="/america">North America</option>
{{- end}}
{{if eq $region "Europe" -}}
<option value="/europe" selected>Europe</option>
<option value="/europe" selected hidden>Europe</option>
{{else}}
<option value="/europe">Europe</option>
{{- end}}
{{if eq $region "Asia" -}}
<option value="/asia" selected>Asia</option>
<option value="/asia" selected hidden>Asia</option>
{{else}}
<option value="/asia">Asia</option>
{{- end}}
{{if eq $region "Australia" -}}
<option value="/australia" selected>Australia</option>
<option value="/australia" selected hidden>Australia</option>
{{else}}
<option value="/australia">Australia</option>
{{- end}}