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
|
@ -11,7 +11,7 @@ port.onMessage.addListener((m) => {
|
|||
if (missingFeature) {
|
||||
popup.setImgSrc('off');
|
||||
popup.setStatusText("Snowflake is off");
|
||||
popup.setStatusDesc("WebRTC feature is not detected.", 'firebrick');
|
||||
popup.setStatusDesc("WebRTC feature is not detected.", true);
|
||||
popup.hideButton();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue