Skip to content

Commit

Permalink
Merge pull request #159 from nsosnsos/dev
Browse files Browse the repository at this point in the history
FEAT: REMOVED TIMELINE END TAG
  • Loading branch information
nsosnsos authored Jul 24, 2024
2 parents 250dc8d + 65ae4de commit 73683a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hallelujah/templates/main/articles.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
function load_data(fetch_url) {
fetch(fetch_url).then(response => response.json()).then(data => {
if (!data.length || data.length < limit) {
sentinel.innerHTML = '<div class="text-muted">No more articles.</div>';
sentinel.innerHTML = '';
intersectionObserver.unobserve(sentinel);
}
for (var index = 0; index < data.length; index++) {
Expand Down
2 changes: 1 addition & 1 deletion hallelujah/templates/main/medias.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ <h5 class="modal-title" id="directory_add">Add Directory</h5>
function load_data(fetch_url) {
fetch(fetch_url).then(response => response.json()).then(data => {
if (!data.length || data.length < limit) {
sentinel.innerHTML = '<div class="text-muted">No more medias.</div>';
sentinel.innerHTML = '';
intersectionObserver.unobserve(sentinel);
}
for (var index = 0; index < data.length; index++) {
Expand Down
2 changes: 1 addition & 1 deletion hallelujah/templates/main/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h5><i class="bi bi-search mx-1"></i>"{{ ' '.join(keywords.split('+')) }}"</h5>
function load_data(fetch_url) {
fetch(fetch_url).then(response => response.json()).then(data => {
if (!data.length || data.length < limit) {
sentinel.innerHTML = '<div class="text-muted">No more articles.</div>';
sentinel.innerHTML = '';
intersectionObserver.unobserve(sentinel);
}
for (var index = 0; index < data.length; index++) {
Expand Down

0 comments on commit 73683a7

Please sign in to comment.