mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Move toggle initiation init-webext.coffee
Prevents repeat calls to update() on startup
This commit is contained in:
parent
6210b5ea7f
commit
4494dbd3ca
2 changed files with 12 additions and 12 deletions
|
@ -24,7 +24,7 @@ init = () ->
|
|||
snowflake = new Snowflake config, ui, broker
|
||||
|
||||
log '== snowflake proxy =='
|
||||
update()
|
||||
ui.initToggle()
|
||||
|
||||
update = () ->
|
||||
if !ui.enabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue