minor cleanup

This commit is contained in:
rolux 2012-06-20 18:30:35 +02:00
parent 367a8227c9
commit 23684de82c

View file

@ -284,7 +284,7 @@ Ox.load.UI = function(options, callback) {
//delete callbacks;
});
return function(callback) {
if (Ox.UI.$window) {
if (Ox.$window) {
callback();
} else {
callbacks.push(callback);