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)
|
$(submitBtn).on('mousedown touchstart', onMessageSubmit)
|
||||||
|
|
||||||
function onMessageSubmit (e) {
|
function onMessageSubmit (e) {
|
||||||
var self = this
|
|
||||||
|
|
||||||
$timeout(function () {
|
$timeout(function () {
|
||||||
updateValue()
|
updateValue()
|
||||||
$scope.draftMessage.send()
|
$scope.draftMessage.send()
|
||||||
@ -1592,7 +1590,7 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
composerEmojiPanel.update()
|
composerEmojiPanel.update()
|
||||||
}
|
}
|
||||||
|
|
||||||
self.hideSuggestions()
|
composer.hideSuggestions()
|
||||||
}, shouldFocusOnInteraction ? 0 : 100)
|
}, shouldFocusOnInteraction ? 0 : 100)
|
||||||
return cancelEvent(e)
|
return cancelEvent(e)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user