Disabled options

main
Bob Mottram 2023-01-01 11:02:02 +00:00
parent 4c3037c42d
commit eb867532aa
1 changed files with 1 additions and 1 deletions

View File

@ -2073,7 +2073,7 @@ def html_following_dropdown(base_dir: str, nickname: str,
following_address = following_line.split(' ')[1] following_address = following_line.split(' ')[1]
foll_domain, _ = get_domain_from_actor(following_address) foll_domain, _ = get_domain_from_actor(following_address)
if prev_foll_domain and prev_foll_domain != foll_domain: if prev_foll_domain and prev_foll_domain != foll_domain:
list_str += '<option value=""></option>\n' list_str += '<option value="" disabled></option>\n'
prev_foll_domain = foll_domain prev_foll_domain = foll_domain
list_str += '<option value="' + following_address + '">' + \ list_str += '<option value="' + following_address + '">' + \
following_address + '</option>\n' following_address + '</option>\n'