[tor-commits] [pluggable-transports/snowflake-webext] branch main updated: fix: init-testing.js: onbeforeunload possibly throwing
gitolite role
git at cupani.torproject.org
Fri Jul 15 11:20:48 UTC 2022
This is an automated email from the git hooks/post-receive script.
meskio pushed a commit to branch main
in repository pluggable-transports/snowflake-webext.
The following commit(s) were added to refs/heads/main by this push:
new 325a153 fix: init-testing.js: onbeforeunload possibly throwing
325a153 is described below
commit 325a1538b66baafa53411875b06ee13f1702208a
Author: WofWca <wofwca at protonmail.com>
AuthorDate: Wed Jul 13 15:49:17 2022 +0300
fix: init-testing.js: onbeforeunload possibly throwing
Due to `ui` var not being assigned
It looks like 9b470fbe was meant to do this
---
init-testing.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init-testing.js b/init-testing.js
index 8333065..637c961 100644
--- a/init-testing.js
+++ b/init-testing.js
@@ -104,7 +104,7 @@ var
if ('off' !== query['ratelimit']) {
config.rateLimitBytes = Params.getByteCount(query, 'ratelimit', config.rateLimitBytes);
}
- const ui = document.getElementById('status') !== null
+ ui = document.getElementById('status') !== null
? new DebugUI()
: new UI();
const broker = new Broker(config);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list