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