mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-14 23:50:33 +03:00
Fix renderer pagination updating too late, causing empty message list when changing msgs per page
This commit is contained in:
parent
caaaedcf73
commit
a94b5a0358
@ -66,9 +66,9 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
var updateMessageList = function(){
|
||||
var mpp = GUI.getOptionMessagesPerPage();
|
||||
|
||||
updateNavigation(false);
|
||||
GUI.updateMessageList(STATE.getMessageList(mpp*(currentPage-1), mpp));
|
||||
GUI.scrollMessagesToTop();
|
||||
updateNavigation(false);
|
||||
};
|
||||
|
||||
var updateNavigation = function(reset){
|
||||
|
Loading…
x
Reference in New Issue
Block a user