Set cursor at end fix for firefox
This commit is contained in:
parent
1e05a2d209
commit
5697105264
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user