fix setting icon if loading page other than home

This commit is contained in:
j 2012-05-22 10:36:03 +02:00
parent 34bf08c445
commit a98902f165

View file

@ -121,7 +121,7 @@ Ox.load(function() {
getSRC: function(element) { getSRC: function(element) {
var src, var src,
home = app.url.get().page == '', home = app.url.get().page == '',
theme = app.user.theme; theme = app.user.theme || 'classic';
if (element == 'icon') { if (element == 'icon') {
src = 'source/Ox.UI/themes/' + theme src = 'source/Ox.UI/themes/' + theme
+ '/png/icon16.png'; + '/png/icon16.png';