avoid 'Cannot convert undefined or null to object' on android if device is rotated during initial load
This commit is contained in:
parent
068293050e
commit
64b8967ded
1 changed files with 1 additions and 1 deletions
|
@ -2961,7 +2961,7 @@ pandora.resizeFolders = function(section) {
|
||||||
: section == 'edits' ? width - 16
|
: section == 'edits' ? width - 16
|
||||||
: width - 48
|
: width - 48
|
||||||
) - 8);
|
) - 8);
|
||||||
Ox.forEach(pandora.$ui.folderList, function($list, id) {
|
pandora.$ui.folderList && Ox.forEach(pandora.$ui.folderList, function($list, id) {
|
||||||
var pos = Ox.getIndexById(pandora.site.sectionFolders[section], id);
|
var pos = Ox.getIndexById(pandora.site.sectionFolders[section], id);
|
||||||
pandora.$ui.folder[pos] && pandora.$ui.folder[pos].css({
|
pandora.$ui.folder[pos] && pandora.$ui.folder[pos].css({
|
||||||
width: width + 'px'
|
width: width + 'px'
|
||||||
|
|
Loading…
Reference in a new issue