mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
add two lines to js
This commit is contained in:
parent
cf13ceeb60
commit
1a14dc1326
@ -1,6 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', event => {
|
||||
document.querySelector('footer').innerHTML += 'With a flavour of <a rel="noopener noreferrer" href="https://github.com/hacdias/caddy-filemanager">Hugo</a>.';
|
||||
document.querySelector('.only-side > p > a').innerHTML = "Hugo";
|
||||
|
||||
let link = document.querySelector('.only-side > p a:first-child').getAttribute('href') + "/settings/"
|
||||
document.getElementById('logout').insertAdjacentHTML('beforebegin', `<a href="${link}">
|
||||
<div class="action">
|
||||
|
Loading…
Reference in New Issue
Block a user