mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Fix lint complaints
This commit is contained in:
parent
61a2702ded
commit
3516599bae
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ DEFAULT_RELAY =
|
|||
host: '192.81.135.242'
|
||||
port: 9902
|
||||
COPY_PASTE_ENABLED = false
|
||||
COOKIE_NAME = "snowflake-allow";
|
||||
COOKIE_NAME = "snowflake-allow"
|
||||
|
||||
silenceNotifications = false
|
||||
query = Query.parse(location)
|
||||
|
@ -209,7 +209,7 @@ init = (isNode) ->
|
|||
cookies = Parse.cookie document.cookie
|
||||
# Do nothing if snowflake has not been opted in.
|
||||
if cookies[COOKIE_NAME] != "1"
|
||||
console.log 'Snowflake is not activate. Please click the badge to change options.';
|
||||
log 'Not activate. Please click the badge to change options.'
|
||||
return
|
||||
|
||||
# Hook up to the debug UI if available.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue