summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2022-04-05 11:35:56 +0200
committerGitHub <noreply@github.com>2022-04-05 11:35:56 +0200
commit9c84aa5870204a871024ca18b4994ed40defdd9b (patch)
tree333c89d98c77097a96feb14ab9949dadc4839da9 /apps/files_external
parent835e28d0b2cb77930567d86fc4092d8b472a3130 (diff)
parent4763a1263f9831ce06fbc200e2ec70f772ba735b (diff)
downloadnextcloud-server-9c84aa5870204a871024ca18b4994ed40defdd9b.tar.gz
nextcloud-server-9c84aa5870204a871024ca18b4994ed40defdd9b.zip
Merge pull request #31820 from nextcloud/fix/30002
Explicitly close div element
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/js/settings.js2
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)