wait for Ox.UI.
This commit is contained in:
parent
1ac454b4dd
commit
567e8ca392
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ Provides function Ox.UI([options], callback) that fires when
|
|||
}
|
||||
|
||||
Ox.UI.ready = function(callback) {
|
||||
if (!documentReady) {
|
||||
if (!Ox.UI.$window) {
|
||||
documentReadyCallbacks.push(callback);
|
||||
} else {
|
||||
callback();
|
||||
|
|
Loading…
Reference in a new issue