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 }} {{ $region }}
{{ "All Regions" }} {{ "All Regions" }}
{{if eq $region "All Regions" -}} {{if eq $region "All Regions" -}}
<option value="/" selected>All Regions</option> <option value="/" selected hidden>All Regions</option>
{{else}} {{else}}
<option value="/">All Regions</option> <option value="/">All Regions</option>
{{- end}} {{- end}}
{{if eq $region "North America" -}} {{if eq $region "North America" -}}
<option value="/america" selected>North America</option> <option value="/america" selected hidden>North America</option>
{{else}} {{else}}
<option value="/america">North America</option> <option value="/america">North America</option>
{{- end}} {{- end}}
{{if eq $region "Europe" -}} {{if eq $region "Europe" -}}
<option value="/europe" selected>Europe</option> <option value="/europe" selected hidden>Europe</option>
{{else}} {{else}}
<option value="/europe">Europe</option> <option value="/europe">Europe</option>
{{- end}} {{- end}}
{{if eq $region "Asia" -}} {{if eq $region "Asia" -}}
<option value="/asia" selected>Asia</option> <option value="/asia" selected hidden>Asia</option>
{{else}} {{else}}
<option value="/asia">Asia</option> <option value="/asia">Asia</option>
{{- end}} {{- end}}
{{if eq $region "Australia" -}} {{if eq $region "Australia" -}}
<option value="/australia" selected>Australia</option> <option value="/australia" selected hidden>Australia</option>
{{else}} {{else}}
<option value="/australia">Australia</option> <option value="/australia">Australia</option>
{{- end}} {{- end}}