mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Fix ui.coffee debug mode message log
This commit is contained in:
parent
889b3fee98
commit
e0081ea954
3 changed files with 10 additions and 9 deletions
|
@ -192,7 +192,7 @@ log = (msg) ->
|
|||
console.log 'Snowflake: ' + msg
|
||||
ui.log msg
|
||||
|
||||
dbg = (msg) -> log msg if ui.debug
|
||||
dbg = (msg) -> log msg if true == ui.debug
|
||||
|
||||
init = ->
|
||||
ui = new UI()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue