diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index fa7eba7e..9dfa0875 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -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);