From ea56727c5a6ad82a3eaa6e33804e97970201e8be Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 17 Jan 2014 11:46:22 +0000 Subject: [PATCH] fix use of pandora.resizeFolders (don't pass event data) --- static/js/folders.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/folders.js b/static/js/folders.js index d928368a..c550772d 100644 --- a/static/js/folders.js +++ b/static/js/folders.js @@ -7,7 +7,9 @@ pandora.ui.folders = function(section) { that = Ox.Element() .css({overflowX: 'hidden', overflowY: 'auto'}) .bindEvent({ - resize: pandora.resizeFolders + resize: function() { + pandora.resizeFolders(); + } }), folderItems = section == 'items' ? 'Lists' : Ox.toTitleCase(section), folderItem = folderItems.slice(0, -1);