dont fail if pandora.user.ui.hash is not set
This commit is contained in:
parent
e706fbfb9b
commit
f6fa94189c
1 changed files with 4 additions and 1 deletions
|
@ -58,7 +58,10 @@ pandora.URL = (function() {
|
|||
|
||||
}
|
||||
|
||||
if (pandora.user.ui.hash.anchor || !Ox.isEmpty(pandora.user.ui.hash.query)) {
|
||||
if (
|
||||
pandora.user.ui.hash &&
|
||||
(pandora.user.ui.hash.anchor || !Ox.isEmpty(pandora.user.ui.hash.query))
|
||||
) {
|
||||
state.hash = {};
|
||||
if (pandora.user.ui.hash.anchor) {
|
||||
state.hash.anchor = pandora.user.ui.hash.anchor;
|
||||
|
|
Loading…
Reference in a new issue