diff options
author | Wojtek Kosior <koszko@koszko.org> | 2021-08-18 20:54:07 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2021-08-18 20:54:07 +0200 |
commit | 3d0efa153c95f3bf4912379f910bc59d0fd563c9 (patch) | |
tree | 037779008eb9513fc7a4e30b135a769313cc7d43 /common | |
parent | 014f2a2f4e2071c35314d67285711f0f4615266b (diff) | |
download | browser-extension-3d0efa153c95f3bf4912379f910bc59d0fd563c9.tar.gz browser-extension-3d0efa153c95f3bf4912379f910bc59d0fd563c9.zip |
remove unneeded policy-related cosole messages; restore IceCat 60 compatibility
Diffstat (limited to 'common')
-rw-r--r-- | common/misc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/misc.js b/common/misc.js index 39c696f..6e825d6 100644 --- a/common/misc.js +++ b/common/misc.js @@ -56,7 +56,7 @@ function get_secure_salt() function extract_signed(signature, data, times) { const now = new Date(); - times ||= [[now], [now, -1]]; + times = times || [[now], [now, -1]]; const reductor = (ok, time) => ok || signature === sign_data(data, ...time); |