From 9743e934d35914f52ad711cc1a266882804d8722 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Thu, 6 Jun 2019 11:36:27 -0600 Subject: [PATCH] Always show IPA table button in pronunciation fields --- src/js/render.js | 14 ++++++-------- src/js/settings.js | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/js/render.js b/src/js/render.js index a818cb5..991ad15 100644 --- a/src/js/render.js +++ b/src/js/render.js @@ -268,18 +268,16 @@ export function renderEditForm(wordId = false) { wordId = typeof wordId.target === 'undefined' ? wordId : parseInt(this.id.replace('edit_', '')); const word = window.currentDictionary.words.find(w => w.wordId === wordId); if (word) { - const ipaPronunciationField = ``; - const plainPronunciationField = ``; + const ipaPronunciationField = `
+ Field Help`; + const plainPronunciationField = ``; const editForm = `
- ${window.settings.useIPAPronunciationField ? ipaPronunciationField : plainPronunciationField} +