commit 39b416352f627ef621713594880a0034686ed501 parent 630aace894c9994a7bbcdb763fe06c1c608a2fd2 Author: Sheng <webmaster0115@gmail.com> Date: Fri, 8 Dec 2017 21:15:56 +0800 Restore button on socket close Diffstat:
M | static/js/main.js | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/static/js/main.js b/static/js/main.js @@ -67,7 +67,8 @@ jQuery(function($){ console.log(e); term.destroy(); $('.container').show(); - $('#status').text(e.reason); + status.text(e.reason); + btn.prop('disabled', false); }; } });