mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-23 12:14:20 +01:00
html: hide modal on ws close
This commit is contained in:
@@ -198,6 +198,7 @@ let openWs = function() {
|
||||
|
||||
ws.onclose = function(event: CloseEvent) {
|
||||
console.log('[ttyd] websocket closed, code: ' + event.code);
|
||||
modal.hide();
|
||||
if (term) {
|
||||
term.resizeDisposable.dispose();
|
||||
term.dataDisposable.dispose();
|
||||
|
||||
2
src/index.html
vendored
2
src/index.html
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user