diff --git a/README.md b/README.md index 2df6c877..d77cb519 100644 --- a/README.md +++ b/README.md @@ -56,4 +56,4 @@ KasmVNC has a built in web server and the web code is baked into KasmVNC. There ## Development -The noVNC code is webpacked for performance reasons. The CI pipeline in the KasmVNC project is repsonsible for building the web code and packaging it with KasmVNC. +The noVNC code is webpacked for performance reasons. The CI pipeline in the KasmVNC project is responsible for building the web code and packaging it with KasmVNC. diff --git a/app/ui.js b/app/ui.js index 7710b61c..3d674856 100644 --- a/app/ui.js +++ b/app/ui.js @@ -1468,7 +1468,7 @@ const UI = { const timeSinceLastActivityInS = (Date.now() - UI.rfb.lastActiveAt) / 1000; let idleDisconnectInS = 1200; //20 minute default - if (Number.isFinite(UI.rfb.idleDisconnect)) { + if (Number.isFinite(parseFloat(UI.rfb.idleDisconnect))) { idleDisconnectInS = parseFloat(UI.rfb.idleDisconnect) * 60; }