forked from 0x2620/pandora
fix use of pandora.resizeFolders (don't pass event data)
This commit is contained in:
parent
865188d97d
commit
ea56727c5a
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue