fix the null comparison
This commit is contained in:
parent
8f021c7f06
commit
6231dbd1ca
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue