Fixed hide suggestions
This commit is contained in:
parent
f85f5a7e3a
commit
2dae17eade
@ -1582,8 +1582,6 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
$(submitBtn).on('mousedown touchstart', onMessageSubmit)
|
||||
|
||||
function onMessageSubmit (e) {
|
||||
var self = this
|
||||
|
||||
$timeout(function () {
|
||||
updateValue()
|
||||
$scope.draftMessage.send()
|
||||
@ -1592,7 +1590,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
composerEmojiPanel.update()
|
||||
}
|
||||
|
||||
self.hideSuggestions()
|
||||
composer.hideSuggestions()
|
||||
}, shouldFocusOnInteraction ? 0 : 100)
|
||||
return cancelEvent(e)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user