Fix toast pointer-events, add show-all-series button, fix UI tests
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-sm);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Toast base */
|
||||
@@ -24,6 +25,7 @@
|
||||
box-shadow: var(--shadow-elevated);
|
||||
min-width: 300px;
|
||||
animation: slideIn var(--transition-duration) var(--transition-easing);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* Toast variants */
|
||||
|
||||
@@ -529,9 +529,15 @@ class AniWorldApp {
|
||||
this.toggleMissingOnlyFilter();
|
||||
});
|
||||
|
||||
document.getElementById('sort-alphabetical').addEventListener('click', () => {
|
||||
this.toggleAlphabeticalSort();
|
||||
});
|
||||
document.getElementById('show-all-series').addEventListener('click', () => {
|
||||
if (this.showMissingOnly) {
|
||||
this.toggleMissingOnlyFilter();
|
||||
}
|
||||
});
|
||||
|
||||
document.getElementById('sort-alphabetical').addEventListener('click', () => {
|
||||
this.toggleAlphabeticalSort();
|
||||
});
|
||||
}
|
||||
|
||||
initTheme() {
|
||||
|
||||
Reference in New Issue
Block a user