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 /core/src/jquery/ocdialog.js | |
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 'core/src/jquery/ocdialog.js')
-rw-r--r-- | core/src/jquery/ocdialog.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/jquery/ocdialog.js b/core/src/jquery/ocdialog.js index 4148c16e92b..51a1c479e99 100644 --- a/core/src/jquery/ocdialog.js +++ b/core/src/jquery/ocdialog.js @@ -46,7 +46,7 @@ $.widget('oc.ocdialog', { this.originalTitle = this.element.attr('title') this.options.title = this.options.title || this.originalTitle - this.$dialog = $('<div class="oc-dialog" />') + this.$dialog = $('<div class="oc-dialog"></div>') .attr({ // Setting tabIndex makes the div focusable tabIndex: -1, @@ -133,7 +133,7 @@ $.widget('oc.ocdialog', { if (this.$buttonrow) { this.$buttonrow.empty() } else { - const $buttonrow = $('<div class="oc-dialog-buttonrow" />') + const $buttonrow = $('<div class="oc-dialog-buttonrow"></div>') this.$buttonrow = $buttonrow.appendTo(this.$dialog) } if (value.length === 1) { |