diff --git a/source/Ox.UI/Ox.UI.js b/source/Ox.UI/Ox.UI.js index 5520fffa..25b18535 100644 --- a/source/Ox.UI/Ox.UI.js +++ b/source/Ox.UI/Ox.UI.js @@ -245,10 +245,11 @@ Ox.load.UI = function(options, callback) { Ox.UI.ready = (function() { var callbacks = []; $(function() { - Ox.UI.$body = $('body'); - Ox.UI.$document = $(document); - Ox.UI.$head = $('head'); - Ox.UI.$window = $(window); + // FIXME: use OX.$foo everywhere! + Ox.$body = Ox.UI.$body = $('body'); + Ox.$document = Ox.UI.$document = $(document); + Ox.$head = Ox.UI.$head = $('head'); + Ox.$window = Ox.UI.$window = $(window); callbacks.forEach(function(callback) { callback(); });