Browse Source

Fixed hide suggestions

master
Igor Zhukov 8 years ago
parent
commit
2dae17eade
  1. 4
      app/js/directives.js

4
app/js/directives.js

@ -1582,8 +1582,6 @@ angular.module('myApp.directives', ['myApp.filters']) @@ -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']) @@ -1592,7 +1590,7 @@ angular.module('myApp.directives', ['myApp.filters'])
composerEmojiPanel.update()
}
self.hideSuggestions()
composer.hideSuggestions()
}, shouldFocusOnInteraction ? 0 : 100)
return cancelEvent(e)
}

Loading…
Cancel
Save