mirror of https://github.com/huashengdun/webssh
Restore button on socket close
parent
630aace894
commit
39b416352f
|
@ -67,7 +67,8 @@ jQuery(function($){
|
||||||
console.log(e);
|
console.log(e);
|
||||||
term.destroy();
|
term.destroy();
|
||||||
$('.container').show();
|
$('.container').show();
|
||||||
$('#status').text(e.reason);
|
status.text(e.reason);
|
||||||
|
btn.prop('disabled', false);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue