Fix ref to undefined global in the badge

Introduced in ead579a, `config` is only a global in the webextension.
This commit is contained in:
Arlo Breault 2019-07-03 15:40:05 +02:00
parent 7090316e5c
commit 526e42a443

View file

@ -55,7 +55,7 @@ class Snowflake
log 'Snowflake IDs: ' + (@proxyPairs.map (p) -> p.id).join ' | ' log 'Snowflake IDs: ' + (@proxyPairs.map (p) -> p.id).join ' | '
@pollBroker() @pollBroker()
@pollInterval = setInterval((=> @pollBroker()), @pollInterval = setInterval((=> @pollBroker()),
config.defaultBrokerPollInterval) @config.defaultBrokerPollInterval)
# Regularly poll Broker for clients to serve until this snowflake is # Regularly poll Broker for clients to serve until this snowflake is
# serving at capacity, at which point stop polling. # serving at capacity, at which point stop polling.