forked from 0x2620/oxjs
don't load theme stylesheets, they get imported by ui stylesheet
This commit is contained in:
parent
fd58906e04
commit
d4050526c5
4 changed files with 9 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue