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

@ -22,6 +22,7 @@ Ox.Theme = function(theme) {
return false;
}
});
Ox.print('getTheme', theme)
return theme;
}
@ -35,11 +36,11 @@ Ox.Theme = function(theme) {
var $this = $(this);
$this.attr({
src: $this.attr('src')
.replace('Ox.UI.' + currentTheme, 'Ox.UI.' + theme)
.replace('/Ox.UI.' + currentTheme, '/Ox.UI.' + theme)
});
});
}
return currentTheme;
return theme;
}
};