mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-23 17:59:17 +00:00
[WebUI] Add country flag alt/title for accessibility
This allows viewing the country in textual form by hovering the flag image and displays it if the image couldn't be loaded.
This commit is contained in:
parent
937afd921c
commit
6d9dc9bd42
@ -14,7 +14,7 @@
|
||||
return '';
|
||||
}
|
||||
return String.format(
|
||||
'<img src="{0}flag/{1}" />',
|
||||
'<img alt="{1}" title="{1}" src="{0}flag/{1}" />',
|
||||
deluge.config.base,
|
||||
value
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user