Skip to content

Commit

Permalink
Merge pull request #1 from neuthral/master
Browse files Browse the repository at this point in the history
cname added
  • Loading branch information
neuthral authored Mar 1, 2023
2 parents b117b22 + 3d1ffb5 commit f74dffe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h1 class="blue-text">
</small>
</div>

<p class="top-links">
<p id="pageLinks" class="top-links">
<small id="urlPath" class="yellow-text"></small>
<a id="prevPageLink" href="" class="red-text">
<b class="blue-text">[</b>previous page<b class="blue-text">]</b>
Expand Down Expand Up @@ -375,6 +375,10 @@ <h1 class="blue-text">
document.querySelector('#nextPageLink').href = `index.html?count=${data.data.children.length}&after=${data.data.after}`
})
.then(loading = false)
.then(() => {
let clone = document.querySelector('#pageLinks').cloneNode(true)
document.querySelector('#postsListContainer').insertAdjacentElement('afterend', clone)
})
.catch(err => { return err })
})
} catch (error) {
Expand Down

0 comments on commit f74dffe

Please sign in to comment.