From a98902f165baab41cdf2a246269e4c9e1a4d1c5b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 22 May 2012 10:36:03 +0200 Subject: [PATCH] fix setting icon if loading page other than home --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5b762bb4..ce3dc1da 100644 --- a/index.js +++ b/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';