From 6231dbd1cad28ac597050a178d42dde63c32f89a Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Sat, 8 May 2010 16:05:44 +0100 Subject: [PATCH] fix the null comparison --- deluge/ui/web/js/deluge-all/Sidebar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/web/js/deluge-all/Sidebar.js b/deluge/ui/web/js/deluge-all/Sidebar.js index f6690022a..b8e8cbda6 100644 --- a/deluge/ui/web/js/deluge-all/Sidebar.js +++ b/deluge/ui/web/js/deluge-all/Sidebar.js @@ -107,7 +107,7 @@ Deluge.Sidebar = Ext.extend(Ext.Panel, { // Grab the filters from each of the filter panels this.items.each(function(panel) { var state = panel.getState(); - if (!state == null) return; + if (state == null) return; states[panel.filterType] = state; }, this); } else {