diff options
author | Louis Chemineau <louis@chmn.me> | 2022-04-04 12:53:58 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-04-04 17:52:44 +0000 |
commit | 4763a1263f9831ce06fbc200e2ec70f772ba735b (patch) | |
tree | 9b21021d4b2a77a7868c2cded154417ffe6c25c2 /apps/files_external | |
parent | 43220c6393d6a1fca722b28c062f176968088802 (diff) | |
download | nextcloud-server-4763a1263f9831ce06fbc200e2ec70f772ba735b.tar.gz nextcloud-server-4763a1263f9831ce06fbc200e2ec70f772ba735b.zip |
Explicitly close div element
Fix: #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/js/settings.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 01c2c3bc953..46092d57e67 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -141,7 +141,7 @@ function addSelect2 ($elements, userListLimit) { return element.name; }, formatResult: function (element) { - var $result = $('<span><div class="avatardiv"/><span>'+escapeHTML(element.displayname)+'</span></span>'); + var $result = $('<span><div class="avatardiv"></div><span>'+escapeHTML(element.displayname)+'</span></span>'); var $div = $result.find('.avatardiv') .attr('data-type', element.type) .attr('data-name', element.name) |