1
0
Fork 0
forked from 0x2620/oxjs

fix oxui loader

This commit is contained in:
rolux 2011-04-23 20:26:35 +02:00
commit 4d3c7143a5
2 changed files with 3 additions and 3 deletions

View file

@ -363,7 +363,7 @@ Provides function Ox.UI([options], callback) that fires when
$.getJSON(path + 'json/OxUI.json', function(data) {
var $head = $('head'),
promises = documentReady ? [] : [waitForDocument()];
promises = Ox.UI.$window ? [] : [waitForDocument()];
log('OxUI.json loaded.')