Try to fix an obscure bug.
This commit is contained in:
parent
74f9df889a
commit
60bfc25f7e
@ -5,6 +5,11 @@ Filter =
|
|||||||
|
|
||||||
for key of Config.filter
|
for key of Config.filter
|
||||||
@filters[key] = []
|
@filters[key] = []
|
||||||
|
if Conf[key] is undefined
|
||||||
|
# XXX hopefully tmp fix for the rare people getting this mysterious error:
|
||||||
|
# "Filter" initialization crashed. TypeError: Cannot call method 'split' of undefined
|
||||||
|
$.delete key
|
||||||
|
continue
|
||||||
for filter in Conf[key].split '\n'
|
for filter in Conf[key].split '\n'
|
||||||
continue if filter[0] is '#'
|
continue if filter[0] is '#'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user