Skip to content

Commit 3a741e5

Browse files
committed
Revert "fix detection of crypto API"
This reverts commit 60ff587.
1 parent 60ff587 commit 3a741e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5/js/Client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ class XpraClient {
14561456
_get_digests() {
14571457
const digests = ["xor", "keycloak"];
14581458

1459-
if (typeof crypto.subtle !== undefined) {
1459+
if (typeof crypto.subtle !== "undefined") {
14601460
try {
14611461
this.debug("network", "crypto.subtle=", crypto.subtle);
14621462
for (const hash of ["sha1", "sha256", "sha384", "sha512"]) {

0 commit comments

Comments
 (0)