diff options
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r-- | apps/files/js/files.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 6bf4a4cfe5a..3b70e283749 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -271,8 +271,9 @@ } - $('#webdavurl').on('click', function () { - $('#webdavurl').select(); + $('#webdavurl').on('click touchstart', function () { + this.focus(); + this.setSelectionRange(0, this.value.length); }); $('#upload').tooltip({placement:'right'}); |