Skip to content

Commit fd753b3

Browse files
committed
feat: better next/previous buttons
1 parent 03e1fe1 commit fd753b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

static/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ document.querySelectorAll('pre').forEach((pre) => {
6464
controls.appendChild(btn);
6565

6666
const prevBtn = document.createElement('button');
67-
prevBtn.textContent = ' Previous';
67+
prevBtn.textContent = ' Previous';
6868
prevBtn.style.display = 'none';
6969
controls.appendChild(prevBtn);
7070

@@ -130,7 +130,7 @@ document.querySelectorAll('pre').forEach((pre) => {
130130
btn.textContent = '↺ Restart';
131131
// running remains true, waiting for user to restart or edit
132132
} else {
133-
btn.textContent = ' Next';
133+
btn.textContent = ' Next';
134134
}
135135

136136
prevBtn.style.display = history.length > 0 ? 'flex' : 'none';

0 commit comments

Comments
 (0)