From 3729153e290f1897c053a39d28af84c1b207381a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 8 Dec 2010 02:36:02 +0100 Subject: [PATCH] off by one fromString --- static/js/pandora.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index dc2199a0b..99de83f01 100755 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -25,7 +25,7 @@ var app = new Ox.App({ selectedMovies: [] }; - app.Query.fromString(location.hash.substr(2)); + app.Query.fromString(location.hash.substr(1)); app.$ui.mainMenu = app.constructMainMenu(); app.$ui.sections = app.constructSections(); @@ -84,7 +84,7 @@ app.url = function(url) { var view = url.split('/')[2] || app.user.ui.itemView; app.constructItem(id, view); } else { - app.Query.fromString(location.hash.substr(2)); + app.Query.fromString(location.hash.substr(1)); app.$ui.rightPanel.replace(1, app.constructContentPanel()); } }