Skip to content

Commit 60ff587

Browse files
committed
fix detection of crypto API
1 parent decaf8d commit 60ff587

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)