Set cursor at end fix for firefox

This commit is contained in:
Jeremy Mahieu 2020-05-18 21:02:24 +02:00
parent 1e05a2d209
commit 5697105264

View File

@ -646,7 +646,7 @@ weechat.directive('inputBar', function() {
if ($scope.command) { if ($scope.command) {
inputNode.setSelectionRange($scope.command.length, $scope.command.length); inputNode.setSelectionRange($scope.command.length, $scope.command.length);
} }
}, 0); }, 1);
return true; return true;
} }