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-05-16 18:45:28 +0000 |
commit | a6208281f1670ca7d70fa78285ff22e81275dad3 (patch) | |
tree | 7945a10478e7ab1bcb512eebcea6a494bcdce850 /core/src/components/MainMenu.js | |
parent | 3b566d8887e27ca44dd527ef9a67f0329ed8eada (diff) | |
download | nextcloud-server-a6208281f1670ca7d70fa78285ff22e81275dad3.tar.gz nextcloud-server-a6208281f1670ca7d70fa78285ff22e81275dad3.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/components/MainMenu.js')
-rw-r--r-- | core/src/components/MainMenu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/components/MainMenu.js b/core/src/components/MainMenu.js index 3b5aa19245e..263a20f7b52 100644 --- a/core/src/components/MainMenu.js +++ b/core/src/components/MainMenu.js @@ -77,7 +77,7 @@ export const setUp = () => { $app.find('div').remove() // prevent odd double-clicks // no need for theming, loader is already inverted on dark mode // but we need it over the primary colour - $app.prepend($('<div/>').addClass('icon-loading-small')) + $app.prepend($('<div></div>').addClass('icon-loading-small')) } else { // Close navigation when opening app in // a new tab @@ -103,7 +103,7 @@ export const setUp = () => { if (event.which === 1 && !event.ctrlKey && !event.metaKey && $app.parent('#more-apps').length === 0) { $app.find('svg').remove() $app.find('div').remove() // prevent odd double-clicks - $app.prepend($('<div/>').addClass( + $app.prepend($('<div></div>').addClass( OCA.Theming && OCA.Theming.inverted ? 'icon-loading-small' : 'icon-loading-small-dark' |