avoid undefined errors

This commit is contained in:
j 2023-07-07 16:14:17 +05:30
parent 512f07400d
commit 409c5a1fc2
2 changed files with 5 additions and 1 deletions

View file

@ -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'

View file

@ -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;
};