Shave a few bytes.

This commit is contained in:
Blaz Kristan 2023-10-23 19:26:02 +02:00
parent fb3816e2e5
commit 26302d478e
2 changed files with 603 additions and 611 deletions

View File

@ -1930,23 +1930,17 @@ ${makePlSel(plJson[i].end?plJson[i].end:0, true)}
} else { } else {
content = content =
`<label class="check revchkl"> `<label class="check revchkl">
<span class="lstIname"> <span class="lstIname">Include brightness</span>
Include brightness
</span>
<input type="checkbox" id="p${i}ibtgl" checked> <input type="checkbox" id="p${i}ibtgl" checked>
<span class="checkmark"></span> <span class="checkmark"></span>
</label> </label>
<label class="check revchkl"> <label class="check revchkl">
<span class="lstIname"> <span class="lstIname">Save segment bounds</span>
Save segment bounds
</span>
<input type="checkbox" id="p${i}sbtgl" checked> <input type="checkbox" id="p${i}sbtgl" checked>
<span class="checkmark"></span> <span class="checkmark"></span>
</label> </label>
<label class="check revchkl"> <label class="check revchkl">
<span class="lstIname"> <span class="lstIname">Checked segments only</span>
Checked segments only
</span>
<input type="checkbox" id="p${i}sbchk"> <input type="checkbox" id="p${i}sbchk">
<span class="checkmark"></span> <span class="checkmark"></span>
</label>`; </label>`;
@ -1962,9 +1956,7 @@ ${makePlSel(plJson[i].end?plJson[i].end:0, true)}
<div class="h">(leave empty for no Quick load button)</div> <div class="h">(leave empty for no Quick load button)</div>
<div ${pl&&i==0?"style='display:none'":""}> <div ${pl&&i==0?"style='display:none'":""}>
<label class="check revchkl"> <label class="check revchkl">
<span class="lstIname"> <span class="lstIname">${pl?"Show playlist editor":(i>0)?"Overwrite with state":"Use current state"}</span>
${pl?"Show playlist editor":(i>0)?"Overwrite with state":"Use current state"}
</span>
<input type="checkbox" id="p${i}cstgl" onchange="tglCs(${i})" ${(i==0||pl)?"checked":""}> <input type="checkbox" id="p${i}cstgl" onchange="tglCs(${i})" ${(i==0||pl)?"checked":""}>
<span class="checkmark"></span> <span class="checkmark"></span>
</label> </label>

File diff suppressed because it is too large Load Diff