diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-07-09 17:48:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-09 17:48:27 -0400 |
commit | 8c68fa4d9435b562ffe23df92a2b7b620a0ed78e (patch) | |
tree | 8c622fe11063b3f9694033f10e47b2ac05badccc /ext/js/display/display.js | |
parent | 0d167095479822adf1ed8918e3d1a349b3a53377 (diff) |
Anki text furigana parsing and {sentence-furigana} marker (#1814)
* Add support for textFurigana media
* Add readingMode parameter
* Implement readingMode
* Add {sentence-furigana} marker
* Fallback to sentence if furigana isn't available
* Update test data
Diffstat (limited to 'ext/js/display/display.js')
-rw-r--r-- | ext/js/display/display.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/display.js b/ext/js/display/display.js index d79cc7e2..12486a72 100644 --- a/ext/js/display/display.js +++ b/ext/js/display/display.js @@ -110,7 +110,7 @@ class Display extends EventDispatcher { this._queryPostProcessor = null; this._optionToggleHotkeyHandler = new OptionToggleHotkeyHandler(this); this._elementOverflowController = new ElementOverflowController(); - this._displayAnki = new DisplayAnki(this); + this._displayAnki = new DisplayAnki(this, japaneseUtil); this._hotkeyHandler.registerActions([ ['close', () => { this._onHotkeyClose(); }], |