Skip to content

Commit

Permalink
Update infinite.php (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Oct 23, 2024
1 parent 745b2a8 commit 03396b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/infinite.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ function appendLoadingItem() {
const loadingItem = document.createElement('a');
loadingItem.href = '#';
loadingItem.className = 'list-group-item list-group-item-action';
loadingItem.id = 'loading-item'; // Set an ID to easily identify and remove later
loadingItem.textContent = 'Loading...';
loadingItem.id = 'loading-item';
loadingItem.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Loading data...';
scrollableList.appendChild(loadingItem);
}

Expand Down

0 comments on commit 03396b8

Please sign in to comment.