Merge pull request #311

修复最后一页滑到底点上一页不清空的bug
This commit is contained in:
SiYuan 2024-01-14 21:03:46 +08:00 committed by GitHub
commit b9c58d82cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1021,10 +1021,11 @@ input {
function prevPage() {
if (currentPage > 1) {
currentPage--;
reachedBottom = false;
renderPage(currentPage);
}
}
function nextPage() {
const totalPages = Math.ceil(chatMessages.length / itemsPerPage);
if (currentPage < totalPages) {

View File

@ -17,5 +17,4 @@ soupsieve==2.5
lz4==4.3.2
pilk==0.2.4
python-docx==1.1.0
docxcompose==1.4.0
eyed3==0.9.7
docxcompose==1.4.0