From 5697105264da6fb51a6051650df3856f7b7e3440 Mon Sep 17 00:00:00 2001 From: Jeremy Mahieu Date: Mon, 18 May 2020 21:02:24 +0200 Subject: [PATCH] Set cursor at end fix for firefox --- js/inputbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/inputbar.js b/js/inputbar.js index 96e4c2f..304bc93 100644 --- a/js/inputbar.js +++ b/js/inputbar.js @@ -646,7 +646,7 @@ weechat.directive('inputBar', function() { if ($scope.command) { inputNode.setSelectionRange($scope.command.length, $scope.command.length); } - }, 0); + }, 1); return true; }