Changeset View
Changeset View
Standalone View
Standalone View
src/resources/js/meet/app.js
Show First 20 Lines • Show All 565 Lines • ▼ Show 20 Lines | function setupChat() { | ||||
textarea.val('') | textarea.val('') | ||||
} | } | ||||
return false | return false | ||||
} | } | ||||
}) | }) | ||||
// Add an element for the count of unread messages on the chat button | // Add an element for the count of unread messages on the chat button | ||||
button.append('<span class="badge badge-dark blinker">') | button.append('<span class="badge bg-dark blinker">') | ||||
.on('click', () => { | .on('click', () => { | ||||
button.find('.badge').text('') | button.find('.badge').text('') | ||||
chatCount = 0 | chatCount = 0 | ||||
// When opening the chat scroll it to the bottom, or we shouldn't? | // When opening the chat scroll it to the bottom, or we shouldn't? | ||||
scrollStop = false | scrollStop = false | ||||
chat.scrollTop = chat.scrollHeight | chat.scrollTop = chat.scrollHeight | ||||
}) | }) | ||||
▲ Show 20 Lines • Show All 1,144 Lines • Show Last 20 Lines |