1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-10-04 09:23:21 +08:00

Add confirmation before closing the window

Fixes #11
This commit is contained in:
Marcos Lilljedahl
2016-10-11 09:38:17 -03:00
parent c64e769e4c
commit f06dd2a149
2 changed files with 15 additions and 1 deletions

View File

@@ -30,7 +30,8 @@
//optionElements.cursorBlink.addEventListener('change', createTerminal);
//createTerminal();
//
//
function createTerminal(name) {
var terminalContainer = document.getElementById('terminal-' + name);
// Clean terminal