fix setting icon if loading page other than home
This commit is contained in:
parent
34bf08c445
commit
a98902f165
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -121,7 +121,7 @@ Ox.load(function() {
|
|||
getSRC: function(element) {
|
||||
var src,
|
||||
home = app.url.get().page == '',
|
||||
theme = app.user.theme;
|
||||
theme = app.user.theme || 'classic';
|
||||
if (element == 'icon') {
|
||||
src = 'source/Ox.UI/themes/' + theme
|
||||
+ '/png/icon16.png';
|
||||
|
|
Loading…
Reference in a new issue