From a9bf3fda73207338e771bd7dc2347d5600451146 Mon Sep 17 00:00:00 2001 From: lejianwen <84855512@qq.com> Date: Wed, 20 Nov 2024 09:17:29 +0800 Subject: [PATCH] fix https://github.com/lejianwen/rustdesk-api/discussions/59#discussioncomment-11306760 --- resources/web2/js/dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/web2/js/dist/index.js b/resources/web2/js/dist/index.js index 369f87b..fe76f14 100644 --- a/resources/web2/js/dist/index.js +++ b/resources/web2/js/dist/index.js @@ -39047,7 +39047,7 @@ async function hn(u) { let l = [], E = []; for (let c = 0; c < e.length; c++) { const C = 1 << 7 - c % 8; - (s[c / 8] & C) === C ? l.push(e[c]) : E.push(e[c]) + (s[Math.floor(c / 8)] & C) === C ? l.push(e[c]) : E.push(e[c]) } et(l, E), o.close(); return