wait for Ox.UI.

This commit is contained in:
j 2011-04-23 16:55:45 +02:00
parent 1ac454b4dd
commit 567e8ca392

View file

@ -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();