Focus input bar after pressing the send button

This prevents the keyboard from closing on mobile
This commit is contained in:
Lorenz Hübschle-Schneider 2014-07-04 14:44:40 +01:00
parent a904add7cc
commit 4be8742ac5

View file

@ -1312,6 +1312,8 @@ weechat.directive('inputBar', function() {
// Empty the input after it's sent
$scope.command = '';
}
$scope.getInputNode().focus();
};
$rootScope.addMention = function(prefix) {