Skip to content

Commit

Permalink
reposition arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
ogurinkaben committed Nov 23, 2023
1 parent 52e8d5f commit 0dcc7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async function displayArticles(page, tag) {
const paginationDiv = document.createElement("div");
paginationDiv.classList.add("ex-pagination");
const prevButton = document.createElement("button");
prevButton.innerHTML = `Previous <i class="bi bi-arrow-left"></i>`;
prevButton.innerHTML = ` <i class="bi bi-arrow-left"></i> Previous`;
prevButton.addEventListener("click", () => {
if (currentPage > 1) {
currentPage--;
Expand Down

0 comments on commit 0dcc7c3

Please sign in to comment.