Skip to content

Commit

Permalink
Fix previous page button handler
Browse files Browse the repository at this point in the history
  • Loading branch information
iAmmar7 committed Mar 1, 2024
1 parent 8cffd6a commit 17d7c41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/full.js
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ function updatePaginationUI(activeButtonName) {
}

if (prevBtn) {
prevBtn.onclick = currentConf.fetchNext
prevBtn.onclick = currentConf.fetcthPrev
prevBtn.disabled = !currentConf.data.hasPrev
}
}
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 17d7c41

Please sign in to comment.