diff options
Diffstat (limited to 'anki-card-template/card.js')
-rw-r--r-- | anki-card-template/card.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/anki-card-template/card.js b/anki-card-template/card.js index 03cd1ae..7ec981d 100644 --- a/anki-card-template/card.js +++ b/anki-card-template/card.js @@ -45,7 +45,7 @@ HTMLElement.prototype.parse = function() { } if (this.classList.contains("parse-brackets")) { - if (i == 0) { out += `<span class="kanji">` } + if (i == 0) { out += `<span class="kanji">`; } if (input[i] == '\u3010') { out += `</span><span class="reading">${input[i]}`; continue; } if (input[i] == '\u3011') { out += `${input[i]}</span>`; continue; } } @@ -58,7 +58,7 @@ HTMLElement.prototype.parse = function() { this.innerHTML = out; this.classList.add("parsed"); -} +}; function layout() { // set vertical layout on vertical displays (primarily mobile screens) |