diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-11 17:56:17 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-10-11 19:44:13 -0400 |
commit | 2bfc7e39725420a2a1a89d968b0a1f27687f70ea (patch) | |
tree | 1a31bac04c5b1db69fcbcd5e0e0a339361b64754 /ext/bg/js | |
parent | 55b2c1d8f51c658b0457ae8329fb1b0e52f5f799 (diff) |
Fix order of {screenshot} tag
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/dictionary.js | 4 | ||||
-rw-r--r-- | ext/bg/js/settings.js | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js index 498eafcd..191058c1 100644 --- a/ext/bg/js/dictionary.js +++ b/ext/bg/js/dictionary.js @@ -342,10 +342,10 @@ async function dictFieldFormat(field, definition, mode, options) { 'kunyomi', 'onyomi', 'reading', + 'screenshot', 'sentence', 'tags', - 'url', - 'screenshot' + 'url' ]; for (const marker of markers) { diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js index f3b5ff16..84b54ba9 100644 --- a/ext/bg/js/settings.js +++ b/ext/bg/js/settings.js @@ -607,10 +607,10 @@ async function ankiFieldsPopulate(element, options) { 'glossary', 'glossary-brief', 'reading', + 'screenshot', 'sentence', 'tags', - 'url', - 'screenshot' + 'url' ], 'kanji': [ 'character', @@ -618,6 +618,7 @@ async function ankiFieldsPopulate(element, options) { 'glossary', 'kunyomi', 'onyomi', + 'screenshot', 'sentence', 'tags', 'url' |