refactor: removed trailing whitespace

This commit is contained in:
Mountain/\Ash 2023-10-19 10:42:10 +02:00
parent 199c00c59b
commit 42aec56b8e

View File

@ -1209,7 +1209,7 @@ function updateUI()
if (hasRGB) { if (hasRGB) {
updateTrail(gId('sliderR')); updateTrail(gId('sliderR'));
updateTrail(gId('sliderG')); updateTrail(gId('sliderG'));
updateTrail(gId('sliderB')); updateTrail(gId('sliderB'));
} }
if (hasWhite) updateTrail(gId('sliderW')); if (hasWhite) updateTrail(gId('sliderW'));
@ -1700,7 +1700,7 @@ function toggleLiveview()
let wsOn = ws && ws.readyState === WebSocket.OPEN; let wsOn = ws && ws.readyState === WebSocket.OPEN;
var lvID = "liveview"; var lvID = "liveview";
if (isM && wsOn) { if (isM && wsOn) {
lvID += "2D"; lvID += "2D";
if (isLv) gId('klv2D').innerHTML = `<iframe id="${lvID}" src="about:blank"></iframe>`; if (isLv) gId('klv2D').innerHTML = `<iframe id="${lvID}" src="about:blank"></iframe>`;
gId('mlv2D').style.transform = (isLv) ? "translateY(0px)":"translateY(100%)"; gId('mlv2D').style.transform = (isLv) ? "translateY(0px)":"translateY(100%)";
@ -1887,7 +1887,7 @@ function makeP(i,pl)
end: 0 end: 0
}; };
var rep = plJson[i].repeat ? plJson[i].repeat : 0; var rep = plJson[i].repeat ? plJson[i].repeat : 0;
content = content =
`<div id="ple${i}" style="margin-top:10px;"></div><label class="check revchkl">Shuffle `<div id="ple${i}" style="margin-top:10px;"></div><label class="check revchkl">Shuffle
<input type="checkbox" id="pl${i}rtgl" onchange="plR(${i})" ${plJson[i].r||rep<0?"checked":""}> <input type="checkbox" id="pl${i}rtgl" onchange="plR(${i})" ${plJson[i].r||rep<0?"checked":""}>
<span class="checkmark"></span> <span class="checkmark"></span>