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