samples/video_conferencing/js/messages.js
function clickSendMessage() {
    var currentText = $('#message_text').val().trim();

    if (!currentText.length) {
        return;
    }

    $('#message_text').val('').focus();

    sendMessage(currentText, null);
}
function clickSendMessage() {
    var currentText = $('#message_text').val().trim();

    if (!currentText.length) {
        return;
    }

    $('#message_text').val('').focus();

    sendMessage(currentText, null);
}
function clickSendMessage ( ) { var currentText = $ ( '#message_text' ) . val ( ) . trim ( ) ; if ( ! currentText . length ) { return ; } $ ( '#message_text' ) . val ( '' ) . focus ( ) ; sendMessage ( currentText , null ) ; }
sending messages after confirmation
sending messages after confirmation