mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 03:36:16 +00:00
fix the null comparison
This commit is contained in:
parent
412d0ee4f9
commit
79d68a5b9b
@ -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…
x
Reference in New Issue
Block a user