diff options
Diffstat (limited to 'assets/js/src')
-rw-r--r-- | assets/js/src/base.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/assets/js/src/base.js b/assets/js/src/base.js index ab9e59a9..b2a78424 100644 --- a/assets/js/src/base.js +++ b/assets/js/src/base.js @@ -236,7 +236,9 @@ var Kanboard = (function() { // Place cursor at the end when focusing on the search box $(document).on("focus", "#form-search", function() { - $(this).val($(this).val()); + if ($("#form-search")[0].setSelectionRange) { + $('#form-search')[0].setSelectionRange($('#form-search').val().length, $('#form-search').val().length); + } }); // Filter helper for search |