From 17d7c4173ded944c69ce3a805194edeeaa6c8977 Mon Sep 17 00:00:00 2001 From: Ammar Ansari Date: Fri, 1 Mar 2024 15:37:18 +0500 Subject: [PATCH] Fix previous page button handler --- public/full.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/full.js b/public/full.js index f4b5968..35468f4 100644 --- a/public/full.js +++ b/public/full.js @@ -990,7 +990,7 @@ function updatePaginationUI(activeButtonName) { } if (prevBtn) { - prevBtn.onclick = currentConf.fetchNext + prevBtn.onclick = currentConf.fetcthPrev prevBtn.disabled = !currentConf.data.hasPrev } } @@ -1248,7 +1248,6 @@ function subscribeToNewMessages() { } // Update in call live messages - // FIXME: Make sure the message is for the current call based on newMsg.conversation_id const liveMessageList = document.querySelector('#liveMessageList') const newListItem = createLiveMessageListItem(newMsg) if (liveMessageList.firstChild) {