Formatting for error messages

This commit is contained in:
TwistedUmbrellaX 2024-10-22 19:13:33 -04:00 committed by TwistedUmbrellaX
parent e20f87bb3b
commit 05038b6ead

View File

@ -514,12 +514,13 @@
</div>
<div id="timestampErrorDiv" style="display: none">
<br />
<textarea id="timestampError" rows="2" cols="75" readonly></textarea>
<br />
<br />
</div>
<div id="fingerprintVisualizer">
<div id="fingerprintVisualizer" style="display: none">
<h3>Fingerprint Visualizer</h3>
<p>
@ -558,19 +559,19 @@
<input type="number" min="-3000" max="3000" value="0" id="offset" />
<br />
<span id="suggestedShifts">
<span>Suggested shifts:</span>
<br />
<br />
<span>Suggested shifts: </span>
</span>
<br />
<br />
<canvas id="troubleshooter" style="display: none"></canvas>
<span id="timestampContainer">
<span id="timestamps"></span> <br />
<span id="timestamps"></span>
<br />
<span id="intros"></span>
</span>
<br />
</div>
<br />
<br />
<div id="eraseSeasonContainer" style="display: none">
<button is="emby-button" id="btnEraseSeasonTimestamps" class="button-submit emby-button" type="button">Erase all timestamps for this season</button>
@ -1022,7 +1023,7 @@
if (lhs === undefined) {
timestampError.value += "Error: " + selectEpisode1.value + " fingerprints failed!\n";
} else if (lhs === null) {
timestampError.value += "Error: " + selectEpisode1.value + " fingerprints missing!\n";
timestampError.value += selectEpisode1.value + " fingerprints missing or incomplete.\n";
}
rightEpisodeEditor.style.display = "unset";
@ -1031,7 +1032,7 @@
if (rhs === undefined) {
timestampError.value += "Error: " + selectEpisode2.value + " fingerprints failed!";
} else if (rhs === null) {
timestampError.value += "Error: " + selectEpisode2.value + " fingerprints missing!\n";
timestampError.value += selectEpisode2.value + " fingerprints missing or incomplete.\n";
}
if (timestampError.value == "") {
@ -1065,7 +1066,7 @@
if (lhs === undefined) {
timestampError.value += "Error: " + selectShow.value + " fingerprints failed!\n";
} else if (lhs === null) {
timestampError.value += "Error: " + selectShow.value + " fingerprints missing!\n";
timestampError.value += selectShow.value + " fingerprints missing or incomplete.\n";
}
rightEpisodeEditor.style.display = "none";