diff options
author | Joas Schilling <coding@schilljs.com> | 2019-11-19 16:43:46 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-26 09:19:49 +0100 |
commit | 06f97c0fd07584cf086d5442c00a75fdc3197961 (patch) | |
tree | 96f35653cd4e110d984cc151eeb74f098b03d2cc /apps/comments/src | |
parent | 0fab27f459d3276a2559cdee5693bfec8c2cf1c9 (diff) | |
download | nextcloud-server-06f97c0fd07584cf086d5442c00a75fdc3197961.tar.gz nextcloud-server-06f97c0fd07584cf086d5442c00a75fdc3197961.zip |
Fix autocomplete suggestions with numeric user ids
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/comments/src')
-rw-r--r-- | apps/comments/src/commentstabview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/src/commentstabview.js b/apps/comments/src/commentstabview.js index a638f46a2c6..e7dbc0abba7 100644 --- a/apps/comments/src/commentstabview.js +++ b/apps/comments/src/commentstabview.js @@ -608,7 +608,7 @@ $comment.find('.avatar-name-wrapper').each(function() { var $this = $(this) var $inserted = $this.parent() - var userId = $this.find('.avatar').data('username') + var userId = $this.find('.avatar').data('username').toString() if (userId.indexOf(' ') !== -1) { $inserted.html('@"' + userId + '"') } else { |