Skip to content

Commit

Permalink
Merge pull request #473 from aarizkuren/85_keyboard_hide
Browse files Browse the repository at this point in the history
#85 unfocus keyboard on sending text disabled
  • Loading branch information
Gioyik committed Jul 21, 2014
2 parents 881cc30 + 08ad7cd commit 7ab1d7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/loqui/bindings.js
Expand Up @@ -192,8 +192,11 @@ var bindings = function () {
$('section#contactAdd button.add').on('click', function() {
Messenger.contactAdd();
});
$('section#chat #footbox #say').on('click', function() {
$('section#chat #footbox #say').on('click', function(e) {
Messenger.say();
}).on('mousedown', function(e){
e.preventDefault();
e.target.classList.add('active');
});
$('section#chat nav#plus a.cancel').on('click', function() {
$(this).parent().removeClass('show');
Expand Down

0 comments on commit 7ab1d7b

Please sign in to comment.