FS-8591 [verto_communicator] restoring chat send button behavior

This commit is contained in:
Italo Rossi 2015-12-22 15:58:48 -03:00
parent 1911cd1bb4
commit ee12caebd2
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,4 @@
(function() {
'use strict';
@ -199,7 +200,9 @@
// Only conferencing chat is supported for now
// but still calling method with the conference prefix
// so we know that explicitly.
event.preventDefault();
if (event && event.type == 'keydown') {
event.preventDefault();
}
verto.sendConferenceChat($scope.message);
$scope.message = CLEAN_MESSAGE;
};