From 0d71925daa4a3868cdc26f1ae563bfd3016e81c6 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 15 Jun 2012 17:20:22 +0000 Subject: [PATCH] minor cleanup --- static/js/pandora/editor.js | 3 --- static/js/pandora/listDialog.js | 6 +----- static/js/pandora/orderButton.js | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/static/js/pandora/editor.js b/static/js/pandora/editor.js index 674ab357..bd959760 100644 --- a/static/js/pandora/editor.js +++ b/static/js/pandora/editor.js @@ -252,6 +252,3 @@ pandora.ui.editor = function(data) { return that; }; - - - diff --git a/static/js/pandora/listDialog.js b/static/js/pandora/listDialog.js index 72f1d553..b7c3b204 100644 --- a/static/js/pandora/listDialog.js +++ b/static/js/pandora/listDialog.js @@ -77,11 +77,7 @@ pandora.ui.listDialog = function(section) { }) ], }) - .css({ - float: 'right', - margin: '4px', - align: 'right' - }); + .css({float: 'right', margin: '4px', align: 'right'}); if (section != 'icon') { $findElement.hide(); } diff --git a/static/js/pandora/orderButton.js b/static/js/pandora/orderButton.js index 09f27c54..badeaa2d 100644 --- a/static/js/pandora/orderButton.js +++ b/static/js/pandora/orderButton.js @@ -14,7 +14,7 @@ pandora.ui.orderButton = function(isNavigationView) { margin: isNavigationView ? '4px 4px 0 0' : '4px 0 0 4px' }) .bindEvent({ - click: function(data) { + click: function() { pandora.UI.set(sortKey, [{ key: pandora.user.ui[sortKey][0].key, operator: pandora.user.ui[sortKey][0].operator == '+' ? '-' : '+'