mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-23 16:06:51 +00:00
try to fix glitchy buttons
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
26c042fd28
commit
5a826222d4
1 changed files with 18 additions and 16 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
document.addEventListener("DOMContentLoaded", function(event) {
|
||||||
if (document.hasFocus()) {
|
if (document.hasFocus()) {
|
||||||
// hide reload button if the site reloads automatically
|
// hide reload button if the site reloads automatically
|
||||||
let list = document.getElementsByClassName("reload button");
|
let list = document.getElementsByClassName("reload button");
|
||||||
|
|
@ -15,3 +16,4 @@ if (document.hasFocus()) {
|
||||||
document.getElementById('overlay').classList.add('loading')
|
document.getElementById('overlay').classList.add('loading')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue