Commit 1d3d3da0 authored by Thomas Greiner's avatar Thomas Greiner

Issue 7229 - Fixed: Whitelisted websites list not sorted alphabetically

parent 90b198f9
......@@ -120,9 +120,9 @@ Collection.prototype._sortItems = function()
// disabled, but only be removed. That way it's grouped together with
// the "Own filter list" which cannot be disabled either at the bottom
// of the filter lists in the Advanced tab.
if (isAcceptableAds(a.url))
if (a.url && isAcceptableAds(a.url))
return 1;
if (isAcceptableAds(b.url))
if (b.url && isAcceptableAds(b.url))
return -1;
// Make sure that newly added entries always appear on top in descending
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment