Re-focus the input bar after nick completion button is pressed

This commit is contained in:
Alice Jenkinson 2017-03-18 03:31:18 +13:00
parent 64e801ef65
commit 8989695af6

View file

@ -505,6 +505,11 @@ weechat.directive('inputBar', function() {
$scope.handleCompleteNickButton = function($event) {
$event.preventDefault();
$scope.completeNick();
setTimeout(function() {
$scope.getInputNode().focus();
}, 0);
return true;
};
}]