summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-01-25 02:56:14 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2020-01-25 02:56:14 +0200
commitaa5a044dade6a6b4caaa368215b96add53a312b4 (patch)
tree321aa096c2ef8cf68444fa49db512dbb20e2335b /ext/mixed/js
parent04727a8cd7dc29a02595690389979ec1070bbded (diff)
query parser: add reading mode 'none'
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/japanese.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mixed/js/japanese.js b/ext/mixed/js/japanese.js
index 23b2bd36..c9bc7b87 100644
--- a/ext/mixed/js/japanese.js
+++ b/ext/mixed/js/japanese.js
@@ -80,6 +80,8 @@ function jpConvertReading(expressionFragment, readingFragment, readingMode) {
}
}
return readingFragment;
+ case 'none':
+ return null;
default:
return readingFragment;
}