Fixed hide suggestions

This commit is contained in:
Igor Zhukov 2016-11-22 19:05:02 +03:00
parent f85f5a7e3a
commit 2dae17eade

View File

@ -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)
}