Browse Source

fix https://github.com/lejianwen/rustdesk-api/discussions/59#discussioncomment-11306760

lejianwen 1 year ago
parent
commit
a9bf3fda73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/web2/js/dist/index.js

+ 1 - 1
resources/web2/js/dist/index.js

@@ -39047,7 +39047,7 @@ async function hn(u) {
39047 39047
         let l = [], E = [];
39048 39048
         for (let c = 0; c < e.length; c++) {
39049 39049
             const C = 1 << 7 - c % 8;
39050
-            (s[c / 8] & C) === C ? l.push(e[c]) : E.push(e[c])
39050
+            (s[Math.floor(c / 8)] & C) === C ? l.push(e[c]) : E.push(e[c])
39051 39051
         }
39052 39052
         et(l, E), o.close();
39053 39053
         return