Restore button on socket close

pull/4/head
Sheng 2017-12-08 21:15:56 +08:00
parent 630aace894
commit 39b416352f
1 changed files with 2 additions and 1 deletions

View File

@ -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);
};
}
});