summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-01-25 03:29:55 +0200
committerGitHub <noreply@github.com>2020-01-25 03:29:55 +0200
commit7357eaf07a899a20de715026de7e4baaa37d4539 (patch)
treeb8b3aa4506de0c42bc596c1a62e1d2d5c8f3641d /ext/mixed
parentbe645c2c9856b3723ba1192132d2947d4f13eb9a (diff)
parentfa4004437d8ca5aff34c31f61ce8aea485be24d1 (diff)
Merge pull request #330 from siikamiika/query-parser-helper-disabling
Query parser helper disabling
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/css/display.css2
-rw-r--r--ext/mixed/js/japanese.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index ea0eb260..add2583e 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -132,7 +132,7 @@ html:root[data-yomichan-page=float] .navigation-header:not([hidden])~.navigation
font-size: 2em;
}
-.query-parser-term {
+#query-parser[data-term-spacing=true] .query-parser-term {
margin-right: 0.2em;
}
diff --git a/ext/mixed/js/japanese.js b/ext/mixed/js/japanese.js
index 0cbaa723..0da822d7 100644
--- a/ext/mixed/js/japanese.js
+++ b/ext/mixed/js/japanese.js
@@ -209,6 +209,8 @@ function jpConvertReading(expressionFragment, readingFragment, readingMode) {
}
}
return readingFragment;
+ case 'none':
+ return null;
default:
return readingFragment;
}