parent
90b650ea52
commit
d29eb05b5f
@ -491,6 +491,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
|
||||
if (submit) {
|
||||
$(element).trigger('submit');
|
||||
$(element).trigger('message_send');
|
||||
return cancelEvent(e);
|
||||
}
|
||||
}
|
||||
|
@ -498,6 +498,11 @@
|
||||
}
|
||||
});
|
||||
|
||||
/*! MODIFICATION: Following 3 lines were added by Igor Zhukov, in order to hide menu on message submit with keyboard */
|
||||
$body.on('message_send', function(e) {
|
||||
self.hide();
|
||||
});
|
||||
|
||||
$body.on('mouseup', function(e) {
|
||||
/*! MODIFICATION START
|
||||
Following code was added by Igor Zhukov, in order to prevent close on click on EmojiMenu scrollbar
|
||||
|
Loading…
x
Reference in New Issue
Block a user