webssh

Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit 0fb6caa9ff048b7c8074d8d4b4f0df912220d408
parent bd803328fce3f06952afed7b2e60a17afb2ef512
Author: Sheng <webmaster0115@gmail.com>
Date:   Mon, 20 Aug 2018 20:07:13 +0800

Modified set_encoding

Diffstat:
Mwebssh/static/js/main.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js @@ -75,13 +75,13 @@ jQuery(function($){ try { test_decoder = new window.TextDecoder(new_encoding); } catch(TypeError) { - console.log('Unvalid encoding ' + new_encoding); + console.log('Unknown encoding ' + new_encoding); } finally { if (test_decoder !== undefined) { + test_decoder = undefined; encoding = new_encoding; console.log('Set encoding to ' + encoding); } - test_decoder = undefined; } };