avoid undefined errors
This commit is contained in:
parent
512f07400d
commit
409c5a1fc2
2 changed files with 5 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ pandora.ui.toolbar = function() {
|
|||
return ['map', 'calendar'].indexOf(pandora.user.ui.listView) > -1 ? 152 : 316;
|
||||
}
|
||||
that.updateListName = function(listId) {
|
||||
pandora.$ui.listTitle.options({title: getListName(listId)});
|
||||
pandora.$ui.listTitle && pandora.$ui.listTitle.options({title: getListName(listId)});
|
||||
};
|
||||
return that;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue