diff options
author | Alex Yatskov <alex@foosoft.net> | 2019-08-19 20:09:37 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2019-08-19 20:09:37 -0700 |
commit | da981c0b911dc5a697246006089b266fddba84a7 (patch) | |
tree | 81cfd1baa1d1728a507d837ee325c8439f84b3c4 /ext | |
parent | 0e961a562e3cd158d300b18e40889cc652c0f015 (diff) | |
parent | 6c3671b3d98896ea710d70927024db4d2cbbad06 (diff) |
Merge branch 'master' into testing
Diffstat (limited to 'ext')
-rw-r--r-- | ext/fg/js/source.js | 2 | ||||
-rw-r--r-- | ext/manifest.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/source.js b/ext/fg/js/source.js index bbf00e30..a360b331 100644 --- a/ext/fg/js/source.js +++ b/ext/fg/js/source.js @@ -180,7 +180,7 @@ class TextSourceRange { let consumed = 0; let stripped = 0; while (state.remainder - consumed > 0) { - const currentChar = node.nodeValue[offset - consumed - stripped]; // negative indices are undefined in JS + const currentChar = node.nodeValue[offset - 1 - consumed - stripped]; // negative indices are undefined in JS if (!currentChar) { break; } else if (currentChar.match(IGNORE_TEXT_PATTERN)) { diff --git a/ext/manifest.json b/ext/manifest.json index b6d6b2af..5903eb6e 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Yomichan (testing)", - "version": "1.7.2", + "version": "1.7.4", "description": "Japanese dictionary with Anki integration (testing)", "icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"}, |