fix the null comparison

This commit is contained in:
Damien Churchill 2010-05-08 16:05:44 +01:00
parent 412d0ee4f9
commit 79d68a5b9b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {