diff --git a/LOGIN.form b/LOGIN.form index c934abd..43aa526 100644 --- a/LOGIN.form +++ b/LOGIN.form @@ -12,8 +12,8 @@

Create a New Account

-

Creating an account allows you to save and switch between up to 10 dictionaries and access them from any device for free!

-

Plus if you allow us to send you emails, we'll never spam you or sell your information. It'll just make sure that you'll be the first to hear about any new features that get added or if any of our policies change for any reason.

+

Creating an account allows you to save and switch between as many dictionaries as you need and access them from any device for free!

+

Plus if you allow us to send you emails, we'll make sure that you're the first to hear about any new features that get added or if any of our policies change for any reason. We'll never spam you or sell your information.

diff --git a/js/dictionaryBuilder.js b/js/dictionaryBuilder.js index 0bc7df8..4415588 100644 --- a/js/dictionaryBuilder.js +++ b/js/dictionaryBuilder.js @@ -335,10 +335,7 @@ function DeleteCurrentDictionary() { CreateNewDictionary(); } else { HideSettings(); - document.getElementById('loadAfterDeleteScreen').style.display = 'block'; - //Parse response into the list that forces you to load one and reload select in settings. - ParseUserDictionariesIntoSelect(document.getElementById("loadAfterDelete"), deleteDictionary.responseText); - ParseUserDictionariesIntoSelect(document.getElementById("userDictionaries"), deleteDictionary.responseText); + ShowDictionaryDeleteMenu(); if (document.getElementById("loadAfterDelete").options.length == 0) { document.getElementById('loadAfterDeleteScreen').style.display = 'none'; diff --git a/js/micromarkdown.js b/js/micromarkdown.js index 898caec..07c5ff0 100644 --- a/js/micromarkdown.js +++ b/js/micromarkdown.js @@ -58,7 +58,7 @@ var micromarkdown = { /* headlines */ while ((stra = micromarkdown.regexobject.headline.exec(str)) !== null) { count = stra[1].length; - str = str.replace(stra[0], '' + stra[2] + '' + '\n'); + str = str.replace(stra[0], '' + stra[2] + ''); } /* lists */ diff --git a/js/ui.js b/js/ui.js index 71f3a9e..3d87349 100644 --- a/js/ui.js +++ b/js/ui.js @@ -176,6 +176,13 @@ function HideInfo() { document.getElementById("infoScreen").style.display = "none"; } +function ShowDictionaryDeleteMenu() { + document.getElementById('loadAfterDeleteScreen').style.display = 'block'; + //Parse response into the list that forces you to load one and reload select in settings. + ParseUserDictionariesIntoSelect(document.getElementById("loadAfterDelete"), deleteDictionary.responseText); + ParseUserDictionariesIntoSelect(document.getElementById("userDictionaries"), deleteDictionary.responseText); +} + function ToggleCaseSensitiveOption() { if (document.getElementById("dictionaryAllowDuplicates").checked) { document.getElementById("dictionaryCaseSensitive").disabled = true;