From ff3d9ecdf492b45956ce79fe8f53da3d287c498c Mon Sep 17 00:00:00 2001 From: fukayatsu Date: Mon, 1 Apr 2019 17:18:55 +0900 Subject: [PATCH] Tweak search --- src/js/lttm.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/lttm.coffee b/src/js/lttm.coffee index 42bb980..3507971 100644 --- a/src/js/lttm.coffee +++ b/src/js/lttm.coffee @@ -95,7 +95,7 @@ atwhoOptions = if query sushiList = _.filter(data, (sushi) -> !!_.find(sushi.keywords, (keyword) -> - keyword.indexOf(query) == 0 + keyword.indexOf(query) > -1 ) ) else @@ -116,7 +116,7 @@ atwhoOptions = if query js_girls = _.filter(data, (js_girl) -> !!_.find(js_girl.keywords, (keyword) -> - keyword.indexOf(query) == 0 + keyword.indexOf(query) > -1 ) ) else @@ -158,7 +158,7 @@ atwhoOptions = if query decomojis = _.filter(data, (js_girl) -> !!_.find(js_girl.keywords, (keyword) -> - keyword.indexOf(query) == 0 + keyword.indexOf(query) > -1 ) ) else @@ -179,7 +179,7 @@ atwhoOptions = if query sushidots = _.filter(data, (js_girl) -> !!_.find(js_girl.keywords, (keyword) -> - keyword.indexOf(query) == 0 + keyword.indexOf(query) > -1 ) ) else