Skip to content

Commit 9a7583b

Browse files
committed
better welcome messages arrow buttons
1 parent 8510a1c commit 9a7583b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wwwroot/js/genpage/welcomemessages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ function automaticWelcomeMessage(override = null) {
5858
if (override < 0) {
5959
override += messages.length;
6060
}
61-
div.innerHTML = `${prefix}\n<div class="welcome-message-wrapper">${messages[override]}</div>\n\n<button onclick="resetWelcomeMessage(${override - 1})">&lt;</button> <button onclick="resetWelcomeMessage(${override + 1})">&gt;</button>`;
61+
div.innerHTML = `${prefix}\n<div class="welcome-message-wrapper">${messages[override]}</div>\n\n<button class="btn btn-secondary" onclick="resetWelcomeMessage(${override - 1})">&lt;</button> <button class="btn btn-secondary" onclick="resetWelcomeMessage(${override + 1})">&gt;</button>`;
6262
return;
6363
}

0 commit comments

Comments
 (0)