add timeout

This commit is contained in:
rolux 2014-09-02 13:32:40 +02:00
parent d5c2c7cc56
commit d3234ada74

View file

@ -129,7 +129,7 @@ Ox.DocPanel = function(options, self) {
that.triggerEvent('load', {items: self.options.items}); that.triggerEvent('load', {items: self.options.items});
}); });
}); });
}); }, 250); // 0 timeout may fail in Firefox
} else { } else {
getExamples(function() { getExamples(function() {
self.$sidebar.replaceElement(1, self.$toolbar); self.$sidebar.replaceElement(1, self.$toolbar);