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;
|
||||
|
|
|
@ -110,7 +110,7 @@ Ox.load = function() {
|
|||
if (!isObject) {
|
||||
modules[arguments[0]] = Ox.isObject(arguments[1]) ? arguments[1] : {};
|
||||
}
|
||||
length = Ox.len(modules)
|
||||
length = Ox.len(modules);
|
||||
Ox.forEach(modules, function(options, module) {
|
||||
Ox.loadFile(Ox.PATH + 'Ox.' + module + '/Ox.' + module + '.js', function() {
|
||||
Ox.load[module](options, function(s) {
|
||||
|
|
Loading…
Reference in a new issue