Re-focus the input bar after nick completion button is pressed
This commit is contained in:
parent
64e801ef65
commit
8989695af6
1 changed files with 5 additions and 0 deletions
|
@ -505,6 +505,11 @@ weechat.directive('inputBar', function() {
|
|||
$scope.handleCompleteNickButton = function($event) {
|
||||
$event.preventDefault();
|
||||
$scope.completeNick();
|
||||
|
||||
setTimeout(function() {
|
||||
$scope.getInputNode().focus();
|
||||
}, 0);
|
||||
|
||||
return true;
|
||||
};
|
||||
}]
|
||||
|
|
Loading…
Reference in a new issue