Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Der-Floh committed May 29, 2024
1 parent 2ad950c commit ad7e5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function loadScreens(lines) {
return;
}

sb.push(line);
sb.push(line.replaceAll('\n', '').replaceAll('\r', ''));

if (index === 13) {
const screen = new Screen();
Expand Down Expand Up @@ -84,7 +84,7 @@ function printScreen(screen) {
for (let line of screen.lines) {
if (!line || line.length === 0)
line = ' ';
line = line.replace(' ', '-');
line = line.replaceAll(' ', '');
screensInnerHTML += `<p class="line">${line}</p>`;
}
screensInnerHTML += '<p id="size-line" class="line"> </p>';
Expand Down

0 comments on commit ad7e5f0

Please sign in to comment.