fix use of pandora.resizeFolders (don't pass event data)

This commit is contained in:
rolux 2014-01-17 11:46:22 +00:00
parent 865188d97d
commit ea56727c5a

View file

@ -7,7 +7,9 @@ pandora.ui.folders = function(section) {
that = Ox.Element() that = Ox.Element()
.css({overflowX: 'hidden', overflowY: 'auto'}) .css({overflowX: 'hidden', overflowY: 'auto'})
.bindEvent({ .bindEvent({
resize: pandora.resizeFolders resize: function() {
pandora.resizeFolders();
}
}), }),
folderItems = section == 'items' ? 'Lists' : Ox.toTitleCase(section), folderItems = section == 'items' ? 'Lists' : Ox.toTitleCase(section),
folderItem = folderItems.slice(0, -1); folderItem = folderItems.slice(0, -1);