Skip to content

Commit 5619c85

Browse files
committed
Relabel grammarRailroad-Button
1 parent 3bf3402 commit 5619c85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

theme/reference.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ function update_railroad() {
6666
const buttons = document.querySelectorAll('.grammar-toggle-railroad');
6767
buttons.forEach(button => {
6868
if (grammarRailroad) {
69-
button.innerText = "Hide Railroad";
69+
button.innerText = "Hide syntax diagram";
7070
} else {
71-
button.innerText = "Show Railroad";
71+
button.innerText = "Show syntax diagram";
7272
}
7373
});
7474
}

0 commit comments

Comments
 (0)