forked from 0x2620/oxjs
fix oxui loader
This commit is contained in:
parent
876673b59d
commit
4d3c7143a5
2 changed files with 3 additions and 3 deletions
|
|
@ -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.')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue