mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Set an "error" class instead of hardcoding a text color.
This commit is contained in:
parent
8a56baa8e1
commit
8f885c7557
4 changed files with 19 additions and 5 deletions
|
@ -16,7 +16,7 @@ class BadgeUI extends UI {
|
|||
missingFeature(missing) {
|
||||
this.popup.setImgSrc('off');
|
||||
this.popup.setStatusText("Snowflake is off");
|
||||
this.popup.setStatusDesc(missing, 'firebrick');
|
||||
this.popup.setStatusDesc(missing, true);
|
||||
this.popup.hideButton();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue