mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
Remove dead code in Filter.parse
(imported from commit 59b56ab864c8af52cb2d637b965b5f7161c34110)
This commit is contained in:
@@ -76,9 +76,6 @@ Filter.parse = function (str) {
|
|||||||
}
|
}
|
||||||
_.each(matches, function (token) {
|
_.each(matches, function (token) {
|
||||||
var parts, operator;
|
var parts, operator;
|
||||||
if (token.length === 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
parts = token.split(':');
|
parts = token.split(':');
|
||||||
if (token[0] === '"' || parts.length === 1) {
|
if (token[0] === '"' || parts.length === 1) {
|
||||||
// Looks like a normal search term.
|
// Looks like a normal search term.
|
||||||
|
|||||||
Reference in New Issue
Block a user