1
0
Fork 0
forked from 0x2620/oxjs

don't load theme stylesheets, they get imported by ui stylesheet

This commit is contained in:
rolux 2011-04-25 14:24:44 +02:00
commit d4050526c5
4 changed files with 9 additions and 7 deletions

View file

@ -43,7 +43,8 @@ Ox.load.UI = function(options, callback) {
function showScreen() {
var body = Ox.element('body'),
var body = Ox.element('body')
.addClass('OxTheme' + Ox.toTitleCase(options.theme)),
css = {
position: 'absolute',
left: 0,
@ -170,7 +171,6 @@ Ox.load.UI = function(options, callback) {
.done(function() {
Ox.print('promises done')
$(function() {
Ox.Theme(options.theme);
if (options.showScreen && options.hideScreen) {
Ox.UI.hideLoadingScreen();
}