More work

This commit is contained in:
Emupedia
2018-09-17 07:34:13 +03:00
parent 3b0a813984
commit c0c6ac0f56
2 changed files with 11 additions and 2 deletions

View File

@@ -1,9 +1,9 @@
html {
height: 100%;
/*height: 100%;*/
}
body {
height: 100%;
/*height: 100%;*/
margin: 0;
padding: 0;
overflow: hidden;

View File

@@ -4,6 +4,8 @@
$(function() {
$('.taskbar').taskbar({
draggable: true,
resizable: true,
minimizeAll: false,
languageSelect: false,
clock: true
@@ -112,7 +114,14 @@
cmd: 'next'
}],
select: function(e, ui) {
switch (ui.cmd) {
case 'close':
console.log(e);
$(e.target).window('close');
break;
}
return true;
},
close: function (e, ui) {
console.log(e);