forked from 0x2620/oxjs
fix a layer bug
This commit is contained in:
parent
1720d2a184
commit
90bc4fb59e
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,6 @@ Ox.Layer = function(options, self) {
|
|||
});
|
||||
|
||||
function click() {
|
||||
Ox.print('CLICK!!!!!!!')
|
||||
that.triggerEvent('click').removeElement();
|
||||
}
|
||||
|
||||
|
|
@ -48,6 +47,7 @@ Ox.Layer = function(options, self) {
|
|||
Ox.UI.$window.bind({mouseup: mouseup});
|
||||
}
|
||||
that.appendTo(Ox.UI.$body);
|
||||
return that;
|
||||
}
|
||||
|
||||
return that;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue