Fixed bug were community would not always load more posts

This commit is contained in:
CaramelKat 2022-02-27 16:04:52 -06:00 committed by Jay
parent 8abf5841ac
commit 9e6e26e81b
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
<body>
<div id="main">
<h2 id="title" class="page-header"><%= lang.global.communities %></h2>
<%- include('nav_bar', { selection: 0 }); %>
<%- include('nav_bar', { selection: 2 }); %>
<div id="toast"></div>
<div id="wrapper" class="community-page-post-box">
<div class="community-top">
@ -97,7 +97,7 @@
</tbody>
</table>-->
<div id="wrapper">
<button id="load-more-posts-button" data-offset="20" onclick="loadCommunityPosts(this)"><%= lang.global.more %></button>
<button id="load-more-posts-button" data-offset="20" onclick="loadCommunityPosts(this, true)"><%= lang.global.more %></button>
</div>
</div>
<script>

View File

@ -38,7 +38,7 @@
<body>
<div id="main">
<h2 id="title" class="page-header"><%= lang.global.user_page %></h2>
<%- include('nav_bar', { selection: 0 }); %>
<%- include('nav_bar', { selection: -1 }); %>
<div id="toast"></div>
<div id="wrapper">
<div class="community-top">