Fix missing default when using the menu to filter.
Don't add `;op:yes` since that's the default already.
This commit is contained in:
parent
a472dae321
commit
8116b48d08
@ -1083,16 +1083,13 @@ Filter =
|
||||
else
|
||||
"\\#{c}"
|
||||
|
||||
re =
|
||||
if type in ['uniqueID', 'MD5']
|
||||
"/#{re}/"
|
||||
else
|
||||
"/^#{re}$/"
|
||||
unless Filter.menu.post.isReply
|
||||
re += ';op:yes'
|
||||
re = if type in ['uniqueID', 'MD5']
|
||||
"/#{re}/"
|
||||
else
|
||||
"/^#{re}$/"
|
||||
|
||||
# Add a new line before the regexp unless the text is empty.
|
||||
$.get type, '', (item) ->
|
||||
$.get type, Conf[type], (item) ->
|
||||
save = item[type]
|
||||
save =
|
||||
if save
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user