avoid undefined errors
This commit is contained in:
parent
512f07400d
commit
409c5a1fc2
2 changed files with 5 additions and 1 deletions
|
@ -588,6 +588,10 @@ pandora.ui.infoView = function(data, isMixed) {
|
|||
pandora.UI.set({infoIconSize: iconSize});
|
||||
}
|
||||
|
||||
that.resizeElement = function() {
|
||||
// overwrite splitpanel resize
|
||||
};
|
||||
|
||||
that.reload = function() {
|
||||
var src = src = '/' + data.id + '/' + (
|
||||
ui.icons == 'posters' ? 'poster' : 'icon'
|
||||
|
|
|
@ -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…
Reference in a new issue