Minor changes, removed line breaks after h# tags.
This commit is contained in:
parent
98e138b8f6
commit
adbc60b2d8
|
@ -12,8 +12,8 @@
|
|||
</form></div>
|
||||
<div class="settingsCol"><form id="createAccountForm" method="post" action="?createaccount">
|
||||
<h2>Create a New Account</h2>
|
||||
<p style="font-size: 12px;">Creating an account allows you to save and switch between up to 10 dictionaries and access them from any device for free!</p>
|
||||
<p style="font-size: 12px;">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.</p>
|
||||
<p style="font-size: 12px;">Creating an account allows you to save and switch between as many dictionaries as you need and access them from any device for free!</p>
|
||||
<p style="font-size: 12px;">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.</p>
|
||||
<label><span>Email</span>
|
||||
<input type="email" id="createAccountEmailField" name="email" />
|
||||
</label>
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -58,7 +58,7 @@ var micromarkdown = {
|
|||
/* headlines */
|
||||
while ((stra = micromarkdown.regexobject.headline.exec(str)) !== null) {
|
||||
count = stra[1].length;
|
||||
str = str.replace(stra[0], '<h' + count + '>' + stra[2] + '</h' + count + '>' + '\n');
|
||||
str = str.replace(stra[0], '<h' + count + '>' + stra[2] + '</h' + count + '>');
|
||||
}
|
||||
|
||||
/* lists */
|
||||
|
|
7
js/ui.js
7
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;
|
||||
|
|
Loading…
Reference in New Issue