@@ -24,6 +24,7 @@ if ($_['always-displayed']) {
|
||||
const body = document.querySelector('body')
|
||||
const html = document.querySelector('html')
|
||||
const nextcloud = document.querySelector('#nextcloud')
|
||||
const logo = document.querySelector('.header-left .logo')
|
||||
|
||||
const isTouchDevice = window.matchMedia("(pointer: coarse)").matches
|
||||
|
||||
@@ -170,6 +171,10 @@ if ($_['always-displayed']) {
|
||||
<?php endif; ?>
|
||||
|
||||
if (nextcloud) {
|
||||
if (logo && logo.parentNode !== nextcloud) {
|
||||
nextcloud.appendChild(logo)
|
||||
}
|
||||
|
||||
<?php if ($_['opener-position'] === 'before'): ?>
|
||||
nextcloud.parentNode.insertBefore(sideMenuOpener, nextcloud)
|
||||
<?php else: ?>
|
||||
|
||||
Reference in New Issue
Block a user