fix: polish Pi-hole connection states
Container-Image veröffentlichen / container (push) Has been cancelled
Container-Image veröffentlichen / container (push) Has been cancelled
This commit is contained in:
1 parent
1c32ca0671
commit
42085dcde0
8 files changed
+59
-18
No files matched your search
@@ -198,6 +198,18 @@
|
||||
syncDirtyState();
|
||||
}
|
||||
|
||||
for (const details of document.querySelectorAll('details[data-scroll-page-end]')) {
|
||||
details.addEventListener('toggle', () => {
|
||||
if (!details.open) return;
|
||||
window.requestAnimationFrame(() => {
|
||||
window.scrollTo({
|
||||
top: document.documentElement.scrollHeight,
|
||||
behavior: window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth',
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
const copyButtons = document.querySelectorAll('[data-copy-target]');
|
||||
for (const button of copyButtons) {
|
||||
button.addEventListener('click', async () => {
|
||||
|
||||
Reference in new issue
Block a user