fix settings application bug
This commit is contained in:
1 parent
a1d3657b84
commit
00803f1c42
2 files changed
+5
No files matched your search
@@ -66,6 +66,7 @@ div.closed
|
|||||||
<input type=text id=edit_name value="" style="width: 300px"><button id=edit_apply>Apply</button><button id=edit_okay>Apply & Close</button><button id=edit_cancel>Close</button>
|
<input type=text id=edit_name value="" style="width: 300px"><button id=edit_apply>Apply</button><button id=edit_okay>Apply & Close</button><button id=edit_cancel>Close</button>
|
||||||
<textarea type=text id=edit_entries value="" style="width: 100%; height:calc(100vh - 200px)"></textarea>
|
<textarea type=text id=edit_entries value="" style="width: 100%; height:calc(100vh - 200px)"></textarea>
|
||||||
<div class=edit_explanation>
|
<div class=edit_explanation>
|
||||||
|
<p>Importing large JSON dictionaries can cause the browser to freeze for several seconds. This is normal.</p>
|
||||||
<pre>
|
<pre>
|
||||||
Format (copy-paste-able):
|
Format (copy-paste-able):
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -1230,6 +1230,10 @@ async function settings_init()
|
|||||||
getvar("font", "");
|
getvar("font", "");
|
||||||
getvar("hlfont", "");
|
getvar("hlfont", "");
|
||||||
|
|
||||||
|
getvar("definition_fontsize", 13);
|
||||||
|
getvar("dict_item_fontsize", 18);
|
||||||
|
getvar("reading_fontsize", 15);
|
||||||
|
|
||||||
getvar("alternatives_mode", 3);
|
getvar("alternatives_mode", 3);
|
||||||
getvar("strict_alternatives", true);
|
getvar("strict_alternatives", true);
|
||||||
getvar("definitions_mode", 0);
|
getvar("definitions_mode", 0);
|
||||||
|
|||||||
Reference in new issue
Block a user